[issue1709112] test_1686475 of test_os & pagefile.sys

Ezio Melotti report at bugs.python.org
Thu Feb 28 06:28:15 CET 2013


Ezio Melotti added the comment:

Now the test (see Lib/test/test_os.py:470) has been changed to:

try:
    os.stat(r"c:\pagefile.sys")
except FileNotFoundError:
    pass # file does not exist; cannot run test
except OSError as e:
    self.fail("Could not stat pagefile.sys")

so this should work properly now.

I can't find the code changed by the second patch in Modules/posixmodule.c, so I'm going to close this issue as out of date.

----------
nosy: +ezio.melotti
resolution:  -> out of date
stage: test needed -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1709112>
_______________________________________


More information about the Python-bugs-list mailing list