##// END OF EJS Templates
Merge pull request #13714 from frenzymadness/fix_xxlimited...
Matthias Bussonnier -
r27711:b9c796a6 merge
parent child Browse files
Show More
@@ -141,9 +141,12 b' def test_pprint_heap_allocated_type():'
141 Test that pprint works for heap allocated types.
141 Test that pprint works for heap allocated types.
142 """
142 """
143 module_name = "xxlimited" if sys.version_info < (3, 10) else "xxlimited_35"
143 module_name = "xxlimited" if sys.version_info < (3, 10) else "xxlimited_35"
144 expected_output = (
145 "xxlimited.Null" if sys.version_info < (3, 10, 6) else "xxlimited_35.Null"
146 )
144 xxlimited = pytest.importorskip(module_name)
147 xxlimited = pytest.importorskip(module_name)
145 output = pretty.pretty(xxlimited.Null)
148 output = pretty.pretty(xxlimited.Null)
146 assert output == "xxlimited.Null"
149 assert output == expected_output
147
150
148
151
149 def test_pprint_nomod():
152 def test_pprint_nomod():
General Comments 0
You need to be logged in to leave comments. Login now