Skip to content

Commit

Permalink
Local import
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Sep 17, 2022
1 parent 59fac48 commit 5e90679
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_gen_dict.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Tests for generated dict functions."""
from typing import Annotated, Dict, Literal, Type
from typing import Dict, Type

import pytest
from attr import Factory, define, field
Expand Down Expand Up @@ -292,6 +292,7 @@ class A:
@pytest.mark.skipif(not is_py39_plus, reason="literals and annotated are 3.9+")
def test_type_names_with_quotes():
"""Types with quote characters in their reprs should work."""
from typing import Annotated, Literal

converter = Converter()

Expand Down

0 comments on commit 5e90679

Please sign in to comment.