diff --git a/tests/util.py b/tests/util.py index eefc0149431..967d576fafe 100644 --- a/tests/util.py +++ b/tests/util.py @@ -106,7 +106,6 @@ def assert_format( minimum_version=minimum_version, ) except Exception as e: - text = "non-preview" if mode.preview else "preview" raise FormatFailure( "Black crashed formatting this case with line-length set to 1." ) from e