Bug 1372697 - [rh-python35] upstream test test_readline.py failure
Summary: [rh-python35] upstream test test_readline.py failure
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: python
Version: rh-python35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.1
Assignee: Python Maintainers
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On: 1191057
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-02 12:18 UTC by Branislav Náter
Modified: 2017-12-07 14:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-07 14:43:12 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Branislav Náter 2016-09-02 12:18:22 UTC
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

Comment 1 Branislav Náter 2016-09-05 16:59:56 UTC
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)

Comment 6 Petr Viktorin 2017-12-07 14:43:12 UTC
Bug #1191057 was closed WONTFIX, so I'll close this bug as well.


Note You need to log in before you can comment on or make changes to this bug.