New submission from STINNER Victor <[email protected]>:
I ran the Python test suite on Windows on a freshly installed Python 3.7a1 and
I got errors: bpo-31606.
I created a separated issue for tests failing because my disk has low free
space.
On my Windows VM, I have a single 40 GB disk with 1.36 GB free.
C:\Users\haypo\AppData\Local\Programs\Python\Python37>python -m test -v -u all
test_largefile
======================================================================
ERROR: test_truncate (test.test_largefile.PyLargeFileTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Users\haypo\AppData\Local\Programs\Python\Python37\lib\test\test_largefile.py",
line 37, in setUp
f.flush()
File "C:\Users\haypo\AppData\Local\Programs\Python\Python37\lib\_pyio.py",
line 1226, in flush
self._flush_unlocked()
File "C:\Users\haypo\AppData\Local\Programs\Python\Python37\lib\_pyio.py",
line 1233, in _flush_unlocked
n = self.raw.write(self._write_buf)
File "C:\Users\haypo\AppData\Local\Programs\Python\Python37\lib\_pyio.py",
line 1630, in write
return os.write(self._fd, b)
OSError: [Errno 28] No space left on device
(other tests fail with similar message)
test_io:
======================================================================
ERROR: test_large_file_ops (test.test_io.CIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\haypo\AppData\Local\Programs\Python\Python37\lib\test\test_io.p
y", line 574, in test_large_file_ops
self.large_file_ops(f)
File "C:\Users\haypo\AppData\Local\Programs\Python\Python37\lib\test\test_io.p
y", line 355, in large_file_ops
self.assertEqual(f.write(b"xxx"), 3)
OSError: [Errno 28] No space left on device
======================================================================
ERROR: test_large_file_ops (test.test_io.PyIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Users\haypo\AppData\Local\Programs\Python\Python37\lib\test\test_io.py",
line 574, in test_large_file_ops
self.large_file_ops(f)
File
"C:\Users\haypo\AppData\Local\Programs\Python\Python37\lib\test\test_io.py",
line 355, in large_file_ops
self.assertEqual(f.write(b"xxx"), 3)
File "C:\Users\haypo\AppData\Local\Programs\Python\Python37\lib\_pyio.py",
line 1630, in write
return os.write(self._fd, b)
OSError: [Errno 28] No space left on device
----------
components: Tests
messages: 303130
nosy: haypo
priority: normal
severity: normal
status: open
title: Tests failures using -u largefile when the disk is full
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31611>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com