From 7a493863e55e6f055576e3a3a7c73379843141d7 2022-08-05 19:53:55 From: Lumír 'Frenzy' Balhar Date: 2022-08-05 19:53:55 Subject: [PATCH] Update IPython/lib/tests/test_pretty.py Co-authored-by: Ben Greiner --- diff --git a/IPython/lib/tests/test_pretty.py b/IPython/lib/tests/test_pretty.py index b93ab97..2d320bf 100644 --- a/IPython/lib/tests/test_pretty.py +++ b/IPython/lib/tests/test_pretty.py @@ -142,7 +142,7 @@ def test_pprint_heap_allocated_type(): """ module_name = "xxlimited" if sys.version_info < (3, 10) else "xxlimited_35" expected_output = ( - "xxlimited.Null" if sys.version_info < (3, 11) else "xxlimited_35.Null" + "xxlimited.Null" if sys.version_info < (3, 10, 6) else "xxlimited_35.Null" ) xxlimited = pytest.importorskip(module_name) output = pretty.pretty(xxlimited.Null)