File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -343,9 +343,9 @@ def test_to_roman_comprehensive(self, collector):
343343 ]
344344 for num , expected in test_cases :
345345 result = collector ._TocTreeCollectorWithStyles__to_roman (num )
346- assert (
347- result == expected
348- ), f"Failed for { num } : got { result } , expected { expected } "
346+ assert result == expected , (
347+ f"Failed for { num } : got { result } , expected { expected } "
348+ )
349349
350350 def test_to_alpha_comprehensive (self , collector ):
351351 """Test alphabetical conversion comprehensively."""
@@ -364,9 +364,9 @@ def test_to_alpha_comprehensive(self, collector):
364364 ]
365365 for num , expected in test_cases :
366366 result = collector ._TocTreeCollectorWithStyles__to_alpha (num )
367- assert (
368- result == expected
369- ), f"Failed for { num } : got { result } , expected { expected } "
367+ assert result == expected , (
368+ f"Failed for { num } : got { result } , expected { expected } "
369+ )
370370
371371 def test_disable_builtin_multiple_collectors (self ):
372372 """Test disabling with multiple collectors in memory."""
You can’t perform that action at this time.
0 commit comments