Skip to content

Commit

Permalink
tests - skipif <= is bad
Browse files Browse the repository at this point in the history
  • Loading branch information
commonism committed Aug 29, 2024
1 parent 2b2d3c4 commit 464cbef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/schema_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,8 @@ def test_schema_string_pattern(with_schema_string_pattern):
GUID.model_validate(str(uuid.uuid4()).replace("-", "@"))


@pytest.mark.skipif(sys.version_info <= (3, 8), reason="typing")
@pytest.mark.skipif(sys.version_info < (3, 9), reason="typing")
def test_schema_regex_engine(with_schema_regex_engine):
print(sys.version_info)
api = OpenAPI("/", with_schema_regex_engine)
Root = api.components.schemas["Root"].get_type()

Expand Down

0 comments on commit 464cbef

Please sign in to comment.