Skip to content

Commit

Permalink
Attempt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo committed Sep 25, 2024
1 parent 6531af7 commit b14a591
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/jsonyx/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
__all__: list[str] = ["check_syntax_err", "get_big_num", "get_json"]

import sys
from test.support.import_helper import import_fresh_module # type: ignore
from typing import TYPE_CHECKING, Any

import pytest
Expand All @@ -15,6 +14,10 @@
if TYPE_CHECKING:
from types import ModuleType

if sys.version_info >= (3, 10):
from test.support.import_helper import import_fresh_module # type: ignore
else:
from test.support import import_fresh_module

pyjson: ModuleType | None = import_fresh_module("jsonyx", blocked=["_jsonyx"])
if cjson := import_fresh_module("jsonyx", fresh=["_jsonyx"]):
Expand Down

0 comments on commit b14a591

Please sign in to comment.