[pypy-commit] pypy win32-cleanup: cause test to report Error and not crash testing process
mattip
noreply at buildbot.pypy.org
Tue Jan 31 23:52:37 CET 2012
Author: mattip
Branch: win32-cleanup
Changeset: r52002:f90a69310775
Date: 2012-02-01 00:48 +0200
http://bitbucket.org/pypy/pypy/changeset/f90a69310775/
Log: cause test to report Error and not crash testing process
diff --git a/pypy/module/_file/test/test_file.py b/pypy/module/_file/test/test_file.py
--- a/pypy/module/_file/test/test_file.py
+++ b/pypy/module/_file/test/test_file.py
@@ -265,6 +265,13 @@
if option.runappdirect:
py.test.skip("works with internals of _file impl on py.py")
+ import platform
+ if platform.system() == 'Windows':
+ # XXX This test crashes until someone implements something like
+ # XXX verify_fd from
+ # XXX http://hg.python.org/cpython/file/80ddbd822227/Modules/posixmodule.c#l434
+ # XXX and adds it to fopen
+ assert False
state = [0]
def read(fd, n=None):
More information about the pypy-commit
mailing list