summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <[email protected]>2021-01-24 14:09:40 -0500
committerMaxim Cournoyer <[email protected]>2021-02-01 11:53:58 -0500
commit6bef08bb819497bdf4e0e19d7583f1d92a1d760f (patch)
tree6a9a30bc78edb3b1ed032e179999c6e42167f257
parent905b1b1081500aaea5050bf602337a7f78b1f01c (diff)
gnu: python-aiohttp: Do not set PYTHONPATH.
* gnu/packages/python-web.scm (python-aiohttp) [phases]{check}: Do not set PYTHONPATH.
-rw-r--r--gnu/packages/python-web.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7ba073d26d..e856c46fdb 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -26,7 +26,7 @@
;;; Copyright © 2018 Tomáš Čech <[email protected]>
;;; Copyright © 2018, 2019 Nicolas Goaziou <[email protected]>
;;; Copyright © 2018 Mathieu Othacehe <[email protected]>
-;;; Copyright © 2018, 2020 Maxim Cournoyer <[email protected]>
+;;; Copyright © 2018, 2020, 2021 Maxim Cournoyer <[email protected]>
;;; Copyright © 2019 Vagrant Cascadian <[email protected]>
;;; Copyright © 2019 Brendan Tildesley <[email protected]>
;;; Copyright © 2019 Pierre Langlois <[email protected]>
@@ -122,12 +122,9 @@
(string-append "@pytest.mark.xfail\n" all)))
;; Don't test the aiohttp pytest plugin to avoid a dependency loop.
- (delete-file "tests/test_pytest_plugin.py")
- #t))
+ (delete-file "tests/test_pytest_plugin.py")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
- (setenv "PYTHONPATH"
- (string-append ".:" (getenv "PYTHONPATH")))
(if tests?
(invoke "pytest" "-vv"
;; Disable loading the aiohttp coverage plugin