mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Update black.
Required for the new syntax in Python 3.12.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user