lib-python/3/test/test_rlcompleter.py::unmodified
== PyPy 3.12.13 (f591fa0fd4db, Jul 06 2026, 20:11:58) [PyPy 7.3.24-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_3644345æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3756011929
0:00:00 load avg: 0.94 Run 1 test sequentially in a single process
0:00:00 load avg: 0.94 [1/1] test_rlcompleter
test_attr_matches (test.test_rlcompleter.TestRlcompleter.test_attr_matches) ... FAIL
test_complete (test.test_rlcompleter.TestRlcompleter.test_complete) ... ok
test_duplicate_globals (test.test_rlcompleter.TestRlcompleter.test_duplicate_globals) ... ok
test_excessive_getattr (test.test_rlcompleter.TestRlcompleter.test_excessive_getattr)
Ensure getattr() is invoked no more than once per attribute ... ok
test_global_matches (test.test_rlcompleter.TestRlcompleter.test_global_matches) ... ok
test_namespace (test.test_rlcompleter.TestRlcompleter.test_namespace) ... ok
test_property_method_not_called (test.test_rlcompleter.TestRlcompleter.test_property_method_not_called) ... ok
test_uncreated_attr (test.test_rlcompleter.TestRlcompleter.test_uncreated_attr) ... ok
======================================================================
FAIL: test_attr_matches (test.test_rlcompleter.TestRlcompleter.test_attr_matches)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_rlcompleter.py", line 59, in test_attr_matches
self.assertEqual(self.stdcompleter.attr_matches('None.'), expected)
^^^^^^^^^^^
AssertionError: Lists differ: ['None.__bool__()', 'None.__class__(', 'None.__delattr__([406 chars]__('] != ['None.__bool__(', 'None.__class__(', 'None.__delattr__('[398 chars]__(']
First differing element 0:
'None.__bool__()'
'None.__bool__('
Diff is 902 characters long. Set self.maxDiff to None to see it.
----------------------------------------------------------------------
Ran 8 tests in 0.030s
FAILED (failures=1)
0:00:00 load avg: 0.94 [1/1/1] test_rlcompleter failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_rlcompleter
Total duration: 211 ms
Total tests: run=8 failures=1
Total test files: run=1/1 failed=1
Result: FAILURE
/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/rlcompleter.py:83: UserWarning: readline.redisplay() not implemented
readline.redisplay()
test test_rlcompleter failed
builder: pypy-c-jit-linux-x86-64 build #11848+
test: lib-python/3/test/test_rlcompleter.py::unmodified