File which-finds-python-executable.patch of Package python-jupyter-packaging
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)