Author: Armin Rigo <[email protected]>
Branch:
Changeset: r86303:c02fee85a03a
Date: 2016-08-19 07:54 +0200
http://bitbucket.org/pypy/pypy/changeset/c02fee85a03a/
Log: Skip these two tests if running on a very old 2.7, where at least on
32-bit we get OverflowErrors inside rlib/rposix.py
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
@@ -619,6 +619,7 @@
assert os.geteuid() == self.geteuid
if hasattr(os, 'setuid'):
+ @py.test.mark.skipif("sys.version_info < (2, 7, 4)")
def test_os_setuid_error(self):
os = self.posix
raises(OverflowError, os.setuid, -2)
@@ -666,6 +667,7 @@
raises(OSError, os.getpgid, 1234567)
if hasattr(os, 'setgid'):
+ @py.test.mark.skipif("sys.version_info < (2, 7, 4)")
def test_os_setgid_error(self):
os = self.posix
raises(OverflowError, os.setgid, -2)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit