diff --git a/modeltranslation/tests/test_runtime_typing.py b/modeltranslation/tests/test_runtime_typing.py index 7b51c8eb..b4164d19 100644 --- a/modeltranslation/tests/test_runtime_typing.py +++ b/modeltranslation/tests/test_runtime_typing.py @@ -18,13 +18,16 @@ class TestInlineModelAdmin( @pytest.mark.skipif( - sys.version_info < (3, 10), + sys.version_info < (3, 10), reason="get_type_hints fails on Python 3.9 despite future annotations", ) -@pytest.mark.parametrize("cls", [ - translator.TranslationOptions, - admin.TranslationAdmin, - admin.TranslationInlineModelAdmin, -]) +@pytest.mark.parametrize( + "cls", + [ + translator.TranslationOptions, + admin.TranslationAdmin, + admin.TranslationInlineModelAdmin, + ], +) def test_type_hints(cls): get_type_hints(cls)