Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mypyc/test/test_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import tempfile
import unittest

base_dir = os.path.join(os.path.dirname(__file__), "..", "..")
from .config import PREFIX


class TestExternal(unittest.TestCase):
Expand Down Expand Up @@ -37,7 +37,7 @@ def test_c_unit_test(self) -> None:
"--run-capi-tests",
],
env=env,
cwd=os.path.join(base_dir, "mypyc", "lib-rt"),
cwd=os.path.join(PREFIX, "mypyc", "lib-rt"),
)
# Run C unit tests.
env = os.environ.copy()
Expand Down
Loading