[pypy-svn] r30060 - pypy/dist/pypy/module/fcntl/test
rhymes at codespeak.net
rhymes at codespeak.net
Sat Jul 15 11:21:04 CEST 2006
Author: rhymes
Date: Sat Jul 15 11:21:02 2006
New Revision: 30060
Modified:
pypy/dist/pypy/module/fcntl/test/test_fcntl.py
Log:
that test was wrong. it should work with array support. remove it
Modified: pypy/dist/pypy/module/fcntl/test/test_fcntl.py
==============================================================================
--- pypy/dist/pypy/module/fcntl/test/test_fcntl.py (original)
+++ pypy/dist/pypy/module/fcntl/test/test_fcntl.py Sat Jul 15 11:21:02 2006
@@ -159,9 +159,7 @@
raises(TypeError, fcntl.ioctl, f, "foo")
raises(TypeError, fcntl.ioctl, f, TIOCGPGRP, float(0))
raises(TypeError, fcntl.ioctl, f, TIOCGPGRP, 1, "foo")
- res = fcntl.ioctl(0, TIOCGPGRP, "foo")
- assert isinstance(res, str)
-
+
# buf = array.array('h', [0])
# fcntl.ioctl(0, TIOCGPGRP, buf, True)
# buf = array.array('c', "a"*1025)
More information about the Pypy-commit
mailing list