python-jupyter-packaging/which-finds-python-executable.patch

15 lines
447 B
Diff

Index: jupyter-packaging-0.4.0/tests/test_which.py
===================================================================
--- jupyter-packaging-0.4.0.orig/tests/test_which.py
+++ jupyter-packaging-0.4.0/tests/test_which.py
@@ -1,6 +1,7 @@
+import sys
from jupyter_packaging.setupbase import which
-def test_which_finds_python():
- assert which('python')
+def test_which_finds_python_executable():
+ assert which(sys.executable)