======================================================================
FAIL: test_black (devscripts.test.test_black.BlackTestCase.test_black)
Test: Run black code formatter on Python source code. ---------------------------------------------------------------------- Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/scripts/devscripts/test/test_black.py", line 43, in test_black
self.fail(
AssertionError: black found code that needs reformatting:
--- reproducible-check 2023-04-02 17:44:26+00:00
+++ reproducible-check 2024-02-24 22:54:57.358173+00:00
@@ -198,13 +198,13 @@
# We may have installed a binNMU version locally so we need to
# strip these off when looking up against the JSON of results.
version = re.sub(r"\+b\d+$", "", pkg_ver.version)
- result[
- (pkg.shortname, pkg_ver.architecture, version)
- ] = pkg_ver.source_name
+ result[(pkg.shortname, pkg_ver.architecture, version)] = (
+ pkg_ver.source_name
+ )
self.log.debug("Parsed %d installed binary packages", len(result))
return result
----------------------------------------------------------------------
Ran 21 tests in 13.726s
FAILED (failures=1)
Test failed: <unittest.runner.TextTestResult run=21 errors=0 failures=1> error: Test failed: <unittest.runner.TextTestResult run=21 errors=0 failures=1>
make[3]: *** [Makefile:102: test_py] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
make[2]: *** [Makefile:68: test_scripts] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:43: test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 test returned exit code 2
FAIL: test_black (devscripts.test.test_black.BlackTestCase.test_black) Test: Run black code formatter on Python source code.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 02:40:54 |
Calls: | 6,666 |
Calls today: | 4 |
Files: | 12,212 |
Messages: | 5,335,606 |