Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
last-partizan committed Sep 5, 2024
1 parent 0b2866b commit 7b6f667
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions modeltranslation/tests/test_runtime_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7b6f667

Please sign in to comment.