python / importlib_metadata

Library to access metadata for Python packages
https://importlib-metadata.readthedocs.io
Apache License 2.0
123 stars 80 forks source link

test_api.py::BLACK failure #430

Closed mtelka closed 1 year ago

mtelka commented 1 year ago

I tested importlib_metadata-6.0.0 using tox with black-23.1.0 installed and the following test failed:

______________________________ Black format check ______________________________
--- $(BUILD_DIR)/tests/test_api.py 2023-03-01 13:57:38.860774 +0000
+++ $(BUILD_DIR)/tests/test_api.py 2023-03-01 14:02:39.455428 +0000
@@ -30,11 +30,10 @@
     fixtures.DistInfoPkg,
     fixtures.DistInfoPkgWithDot,
     fixtures.EggInfoFile,
     unittest.TestCase,
 ):
-
     version_pattern = r'\d+\.\d+(\.\d)?'

     def test_retrieves_version_of_self(self):
         pkg_version = version('egginfo-pkg')
         assert isinstance(pkg_version, str)
jaraco commented 1 year ago

Fixed in 5475a6e3d96e1f31441c90386e8d70514ab0e954.