[pypy-commit] pypy default: remove 2.4 support in tests

fijal noreply at buildbot.pypy.org
Tue Nov 13 12:58:49 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r58850:ee7517914d59
Date: 2012-11-13 12:58 +0100
http://bitbucket.org/pypy/pypy/changeset/ee7517914d59/

Log:	remove 2.4 support in tests

diff --git a/pypy/module/fcntl/test/test_fcntl.py b/pypy/module/fcntl/test/test_fcntl.py
--- a/pypy/module/fcntl/test/test_fcntl.py
+++ b/pypy/module/fcntl/test/test_fcntl.py
@@ -156,11 +156,10 @@
             assert buf[0] != 0
             expected = buf.tostring()
 
-            if '__pypy__' in sys.builtin_module_names or sys.version_info >= (2,5):
-                buf = array.array('h', [0])
-                res = fcntl.ioctl(mfd, TIOCGPGRP, buf)
-                assert res == 0
-                assert buf.tostring() == expected
+            buf = array.array('h', [0])
+            res = fcntl.ioctl(mfd, TIOCGPGRP, buf)
+            assert res == 0
+            assert buf.tostring() == expected
 
             res = fcntl.ioctl(mfd, TIOCGPGRP, buf, False)
             assert res == expected


More information about the pypy-commit mailing list