Author: Maciej Fijalkowski <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit