You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
ccf5e44be8
- needed as a dependency for Spyder - add black_select group - set black port to replaced_by py38-black
14 lines
485 B
Diff
14 lines
485 B
Diff
--- tests/test_black.py
|
|
+++ tests/test_black.py
|
|
@@ -1934,8 +1934,8 @@ class BlackTestCase(unittest.TestCase):
|
|
self.assertEqual(black.find_project_root((src_dir,)), src_dir.resolve())
|
|
self.assertEqual(black.find_project_root((src_python,)), src_dir.resolve())
|
|
|
|
-
|
|
-class BlackDTestCase(AioHTTPTestCase):
|
|
+if has_blackd_deps:
|
|
+ class BlackDTestCase(AioHTTPTestCase):
|
|
async def get_application(self) -> web.Application:
|
|
return blackd.make_app()
|
|
|