from re import match
from subprocess import run
from shutil import which
-from unittest import TestCase, skipUnless
+from unittest import main, TestCase, skipUnless
black_version = 0.0
try:
self.fail(
f"black exited with code {output.returncode}:\n{output.stderr.decode()}"
)
+
+
+if __name__ == "__main__":
+ main()