Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3.3
Changeset: r74926:29979a710c73
Date: 2014-11-01 12:02 +0100
http://bitbucket.org/pypy/pypy/changeset/29979a710c73/
Log: Add a negative test for win32
diff --git a/pypy/module/posix/test/test_posix2.py
b/pypy/module/posix/test/test_posix2.py
--- a/pypy/module/posix/test/test_posix2.py
+++ b/pypy/module/posix/test/test_posix2.py
@@ -1258,6 +1258,8 @@
assert os.stat in os.supports_fd # fstat() is supported everywhere
if os.name != 'nt':
assert os.chdir in os.supports_fd # fchdir()
+ else:
+ assert os.chdir not in os.supports_fd
if os.name == 'posix':
assert os.open in os.supports_dir_fd # openat()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit