New submission from kostia.lopuhin <[email protected]>:
The following test from lib-python tests fails on pypy (2.1, 2.2.1, 2.3.x rc)
on OS/X
and passes under CPython (it is skipped on the buildbot)
lib-python/2.7/test/test_ioctl.py
test_ioctl (__main__.IoctlTests) ... ok
test_ioctl_mutate (__main__.IoctlTests) ... ok
test_ioctl_mutate_1024 (__main__.IoctlTests) ... ok
test_ioctl_mutate_2048 (__main__.IoctlTests) ... ok
test_ioctl_signed_unsigned_code_param (__main__.IoctlTests) ... ERROR
======================================================================
ERROR: test_ioctl_signed_unsigned_code_param (__main__.IoctlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/kostia/programming/pypy/lib-python/2.7/test/test_ioctl.py", line
83,
in test_ioctl_signed_unsigned_code_param
new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_pos, our_winsz)
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------------------------------------
Ran 5 tests in 0.007s
FAILED (errors=1)
Traceback (most recent call last):
File "app_main.py", line 72, in run_toplevel
File "/Users/kostia/programming/pypy/lib-python/2.7/test/test_ioctl.py", line
93,
in <module>
test_main()
File "/Users/kostia/programming/pypy/lib-python/2.7/test/test_ioctl.py", line
90,
in test_main
run_unittest(IoctlTests)
File "/Users/kostia/opt/pypy-2.0/lib-python/2.7/test/test_support.py", line
1144,
in run_unittest
_run_suite(suite)
File "/Users/kostia/opt/pypy-2.0/lib-python/2.7/test/test_support.py", line
1098,
in _run_suite
raise TestFailed(err)
TestFailed: Traceback (most recent call last):
File "/Users/kostia/programming/pypy/lib-python/2.7/test/test_ioctl.py", line
83,
in test_ioctl_signed_unsigned_code_param
new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_pos, our_winsz)
IOError: [Errno 25] Inappropriate ioctl for device
It does not affect me, just noticed while running all lib-python tests
----------
messages: 6858
nosy: kostia.lopuhin, pypy-issue
priority: bug
release: 2.3
status: unread
title: test_ioctl_signed_unsigned_code_param fails on OS/X
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1757>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue