Skip to content

Commit

Permalink
tests: add importorskip mark to test that requires lib2to3
Browse files Browse the repository at this point in the history
`lib2to3` was removed in python 3.13.
  • Loading branch information
rokm committed Jan 18, 2024
1 parent 3070c12 commit e532e5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/test_modulegraph/test_modulegraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ def test_create_xref(self):
# Verify no `errors <https://lxml.de/parsing.html#error-log>`_ occurred.
assert len(parser.error_log) == 0

@importorskip('lib2to3') # lib2to3 was removed in python 3.13
def test_itergraphreport(self):
# XXX: This test is far from optimal, it just ensures
# that all code is exercised to catch small bugs and
Expand Down

0 comments on commit e532e5e

Please sign in to comment.