[pypy-commit] pypy default: fix test

mattip noreply at buildbot.pypy.org
Fri Apr 27 11:50:16 CEST 2012


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r54773:ff5ad277dbe2
Date: 2012-04-27 12:38 +0300
http://bitbucket.org/pypy/pypy/changeset/ff5ad277dbe2/

Log:	fix test

diff --git a/pypy/rlib/test/test_rposix.py b/pypy/rlib/test/test_rposix.py
--- a/pypy/rlib/test/test_rposix.py
+++ b/pypy/rlib/test/test_rposix.py
@@ -133,6 +133,8 @@
                 pass
 
     def test_validate_fd(self):
+        if os.name != 'nt':
+            py.test.skip('relevant for windows only')
         assert rposix._validate_fd(0) == 1
         fid = open(str(udir.join('validate_test.txt')), 'w')
         fd = fid.fileno()


More information about the pypy-commit mailing list