Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
16 lines
590 B
Diff
16 lines
590 B
Diff
diff --git a/tests/conftest.py b/tests/conftest.py
|
|
index 04400a17..1facf55d 100644
|
|
--- a/tests/conftest.py
|
|
+++ b/tests/conftest.py
|
|
@@ -46,9 +46,7 @@ class TempPackage:
|
|
# environment
|
|
self.system_path: Path = Path(os.getcwd())
|
|
self.system_prefix: Path = Path(sys.prefix)
|
|
- self.relative_site = Path(pytest.__file__).parent.parent.relative_to(
|
|
- self.system_prefix
|
|
- )
|
|
+ self.relative_site = Path(pytest.__file__).resolve().parent.parent
|
|
|
|
# make a temporary directory and set it as current
|
|
name = request.node.name
|