Skip to content

Commit 7c01ff1

Browse files
authored
Skip test_raise_unknown_generic on <= 3.6
1 parent 9f0ef04 commit 7c01ff1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_make.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,9 @@ class UnknownGeneric(t.Generic[T]):
532532
pass
533533

534534

535+
@pytest.mark.skipif(
536+
sys.version_info[:2] <= (3, 6), reason="3.6 has isinstance(t.Sequence[int], type)."
537+
)
535538
def test_raise_unknown_generic(module: DataclassModule) -> None:
536539
"""Raise UnknownType for unknown generics."""
537540

0 commit comments

Comments
 (0)