[pypy-commit] pypy py3.3: Add a negative test for win32
amauryfa
noreply at buildbot.pypy.org
Sun Dec 14 19:42:26 CET 2014
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
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()
More information about the pypy-commit
mailing list