[BUG] python3.10 test failures
See original GitHub issueWhen running tests with Python 3.10.0b1 (Gentoo Linux), the following tests fail:
FAILED tests/test_inspect.py::test_inspect_integer_with_methods - assert ("╭──────────────── <class 'int'> ─────────────────╮...
FAILED tests/test_log.py::test_log - AssertionError: assert ('\x1b[2;36m[TIME]\x1b[0m\x1b[2;36m '\n '\x1b[0m ...
FAILED tests/test_pretty.py::test_pretty_dataclass - assert "ExampleDataclass(foo=1000, bar='Hello, World', baz=['foo', 'bar'...
FAILED tests/test_segment.py::test_repr - assert "Segment('foo', None, [(ControlType.HOME, 0)])" == "Segment('foo', None, [
I’m attaching the full build log
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Test failures with Python3.10 - Issues · ezlab / busco - GitLab
Hi, the Debian packaged version of busco received a bug report when trying to build with Python3.10.
Read more >828998 – dev-lang/python-3.10.1 test failures: test_bdb ...
Bug 828998 - dev-lang/python-3.10.1 test failures: test_bdb test_doctest test_import test_importlib test_pickle test_runpy test_support.
Read more >Python 3.10 test failures: DeprecationWarning: There is no ...
I think this is an asgiref bug - I think 3.10 has changed asyncio.get_event_loop() such that it no longer creates a loop if...
Read more >1948522 – pytest's own tests fail with Python 3.10
pytest fails to build with Python 3.10.0a7. ... RunResult(1, outlines, errlines, duration=0.5) > assert ( repr(r) == "<RunResult ret=ExitCode.TESTS_FAILED len( ...
Read more >Bug #1954321 “Python3.10 error” : Bugs : Glance
tox -e py310 fails - Please see comment #1. ... File "/usr/lib/python3.10/configparser.py", line 790, in get ... Fix tests on Python3.10.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Those error seem to be due to a change in the repr format of various objects in Python3.10. Not a bug per-se but I’ll update the tests in the next release.
Did I solve your problem?
Consider sponsoring the ongoing work on Rich and Textual.
Or buy me a coffee to say thanks.
– Will McGugan