[pypy-commit] pypy default: another fix to make win32 happy

bdkearns noreply at buildbot.pypy.org
Thu Apr 10 03:47:57 CEST 2014


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r70530:9b2dff9b875f
Date: 2014-04-09 18:47 -0700
http://bitbucket.org/pypy/pypy/changeset/9b2dff9b875f/

Log:	another fix to make win32 happy

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
@@ -309,7 +309,7 @@
         import errno
         os = self.posix
         try:
-            fd = os.open('/', os.O_RDONLY)
+            fd = os.open('.', os.O_RDONLY)
         except OSError as e:
             assert e.errno == errno.EACCES
             skip("system cannot open directories")


More information about the pypy-commit mailing list