File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -236,12 +236,12 @@ def test():
236236 )
237237 # The first ones are static types shared between interpreters.
238238 assert objects[:-2] == expected[:-2], (
239- f"Expected static objects {{expected!r}} ({{len(expected)}}) , got {{objects!r}} ({{len(objects)}}) ."
239+ f"Expected static objects {{expected!r[:-2]}} , got {{objects[:-2] !r}}."
240240 )
241241 # The last two are heap types created per-interpreter.
242242 # The expected objects are dynamically imported from `collections`.
243243 assert objects[-2:] == expected[-2:], (
244- f"Expected heap objects {{expected!r}} ({{len(expected)}}) , got {{objects!r}} ({{len(objects)}}) ."
244+ f"Expected heap objects {{expected[-2:] !r}}, got {{objects[-2:] !r}}."
245245 )
246246
247247 assert hasattr(m, 'MyClass'), "Module missing MyClass"
You can’t perform that action at this time.
0 commit comments