summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/django.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index f25dd20b20..75a1121264 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -935,9 +935,7 @@ name is purely coincidental.")
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
- (setenv "PYTHONPATH"
- (string-append "./tests/test_project:./build/lib:"
- (getenv "PYTHONPATH")))
+ (setenv "PYTHONPATH" "./tests/test_project")
(setenv "DJANGO_SETTINGS_MODULE" "project.settings")
(invoke "pytest" "-vv"))))))
(native-inputs