Loading tests/test_black.py +2 −1 Changes for tests/test_black.py: 2 added lines, 1 removed line. Original line number Diff line number Diff line #!/usr/bin/env python3 from functools import partial from io import StringIO import os from pathlib import Path import sys from typing import Any, List, Tuple Loading Loading @@ -47,7 +48,7 @@ class BlackTestCase(unittest.TestCase): maxDiff = None def assertFormatEqual(self, expected: str, actual: str) -> None: if actual != expected: if actual != expected and not os.environ.get('SKIP_AST_PRINT'): bdv: black.DebugVisitor[Any] black.out('Expected tree:', fg='green') try: Loading Loading
tests/test_black.py +2 −1 Changes for tests/test_black.py: 2 added lines, 1 removed line. Original line number Diff line number Diff line #!/usr/bin/env python3 from functools import partial from io import StringIO import os from pathlib import Path import sys from typing import Any, List, Tuple Loading Loading @@ -47,7 +48,7 @@ class BlackTestCase(unittest.TestCase): maxDiff = None def assertFormatEqual(self, expected: str, actual: str) -> None: if actual != expected: if actual != expected and not os.environ.get('SKIP_AST_PRINT'): bdv: black.DebugVisitor[Any] black.out('Expected tree:', fg='green') try: Loading