Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_rlcompleter.py::unmodified

== PyPy 3.12.13 (a3c6b428e7a8, Jul 09 2026, 03:38:33) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-5.4.0-182-generic-i686-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /build_dir/tmp/pytest/test_python_worker_2020220æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 1715104474
0:00:00 load avg: 4.71 Run 1 test sequentially in a single process
0:00:00 load avg: 4.71 [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-32/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__[408 chars]__('] != ['None.__bool__(', 'None.__class__(', 'None.__delattr__('[398 chars]__(']

First differing element 0:
'None.__bool__()'
'None.__bool__('

Diff is 988 characters long. Set self.maxDiff to None to see it.

----------------------------------------------------------------------
Ran 8 tests in 0.092s

FAILED (failures=1)
0:00:00 load avg: 4.71 [1/1/1] test_rlcompleter failed (1 failure)

== Tests result: FAILURE ==

1 test failed:
    test_rlcompleter

Total duration: 619 ms
Total tests: run=8 failures=1
Total test files: run=1/1 failed=1
Result: FAILURE
/build_dir/pypy-c-jit-linux-x86-32/build/lib-python/3/rlcompleter.py:83: UserWarning: readline.redisplay() not implemented
  readline.redisplay()
test test_rlcompleter failed
builder: pypy-c-jit-linux-x86-32 build #8377+
test: lib-python/3/test/test_rlcompleter.py::unmodified