Hide Forgot
Description of problem: upstream test test_readline.py is failing on rhel-6. Version-Release number of selected component (if applicable): rh-python35-python-3.5.1-10.el6 How reproducible: run upstream test suite Actual results: :: [ BEGIN ] :: Running test_readline.py in verbose mode :: actually running 'su pythontester -c 'python regrtest.py -l --verbose test_readline.py < empty'' == CPython 3.5.1 (default, Aug 5 2016, 13:29:23) [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] == Linux-2.6.32-642.3.1.el6.x86_64-x86_64-with-redhat-6.8-Santiago little-endian == hash algorithm: siphash24 64bit == /tmp/test_python_16460 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0) [1/1] test_readline testHistoryUpdates (test.test_readline.TestHistoryManipulation) ... ok test_write_read_append (test.test_readline.TestHistoryManipulation) ... ok test_init (test.test_readline.TestReadline) ... test test_readline failed FAIL ====================================================================== FAIL: test_init (test.test_readline.TestReadline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/rh/rh-python35/root/usr/lib64/python3.5/test/test_readline.py", line 97, in test_init self.assertEqual(stdout, b'') AssertionError: b'\x1b[?1034h' != b'' ---------------------------------------------------------------------- Ran 3 tests in 0.055s FAILED (failures=1) 1 test failed: test_readline Expected results: Test is passing
Test and works with newer _testing package_ readline-6.1-1.el6_8. :: [ BEGIN ] :: Running test_readline.py :: actually running 'su pythontester -c 'python regrtest.py -l test_readline.py < empty'' [1/1] test_readline 1 test OK. :: [ PASS ] :: Running test_readline.py (Expected 0, got 0)
Bug #1191057 was closed WONTFIX, so I'll close this bug as well.