Skip to content

Commit

Permalink
Fixed testing bug on older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
smartycope committed Apr 19, 2024
1 parent 8619f9f commit 2a05e18
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import json
from logging import warning
from typing import TypedDict, reveal_type
from sys import version_info
if version_info < (3, 12):
from typing_extensions import TypedDict
else:
from typing import TypedDict
from warnings import warn
import pytest
from ezregex import *
from ezregex import api
# from ezregex.api import APIStructure
Expand Down

0 comments on commit 2a05e18

Please sign in to comment.