16a9a0078d
- Add patch which-finds-python-executable.patch to fix tests - Spec-cleaner fixes OBS-URL: https://build.opensuse.org/request/show/800416 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-packaging?expand=0&rev=5
15 lines
447 B
Diff
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)
|