Skip to content

Commit

Permalink
modify imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyStick committed Jan 29, 2025
1 parent 469013b commit c36586b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/asynchronous/test_csot.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from __future__ import annotations

import os
import pathlib
import sys
from pathlib import Path

sys.path[0:0] = [""]

Expand All @@ -32,9 +32,9 @@

# Location of JSON test specifications.
if _IS_SYNC:
TEST_PATH = os.path.join(pathlib.Path(__file__).resolve().parent, "csot")
TEST_PATH = os.path.join(Path(__file__).resolve().parent, "csot")
else:
TEST_PATH = os.path.join(pathlib.Path(__file__).resolve().parent.parent, "csot")
TEST_PATH = os.path.join(Path(__file__).resolve().parent.parent, "csot")

# Generate unified tests.
globals().update(generate_test_classes(TEST_PATH, module=__name__))
Expand Down
6 changes: 3 additions & 3 deletions test/test_csot.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from __future__ import annotations

import os
import pathlib
import sys
from pathlib import Path

sys.path[0:0] = [""]

Expand All @@ -32,9 +32,9 @@

# Location of JSON test specifications.
if _IS_SYNC:
TEST_PATH = os.path.join(pathlib.Path(__file__).resolve().parent, "csot")
TEST_PATH = os.path.join(Path(__file__).resolve().parent, "csot")
else:
TEST_PATH = os.path.join(pathlib.Path(__file__).resolve().parent.parent, "csot")
TEST_PATH = os.path.join(Path(__file__).resolve().parent.parent, "csot")

# Generate unified tests.
globals().update(generate_test_classes(TEST_PATH, module=__name__))
Expand Down

0 comments on commit c36586b

Please sign in to comment.