Update black.

Required for the new syntax in Python 3.12.
This commit is contained in:
Dan Albert
2023-11-30 21:02:27 -08:00
parent 28954d05eb
commit 2447cc156d
37 changed files with 7 additions and 45 deletions

View File

@@ -21,7 +21,6 @@ def mock_registry() -> MockRegistry:
def test_lasercode_code(registry: ILaserCodeRegistry) -> None:
assert LaserCode(1688, registry).code == 1688
# 1113 doesn't comply to the rules, but is the only code valid for FC3 aircraft like

View File

@@ -99,7 +99,6 @@ class TestFactionLoader(unittest.TestCase):
@pytest.mark.skip(reason="Faction unit names in the json files are outdated")
def test_load_valid_faction_with_invalid_country(self) -> None:
with (RESOURCES_DIR / "invalid_faction_country.json").open("r") as data:
try:
Faction.from_dict(json.load(data))