python-pytest-localserver/remove_bindir.patch

7 lines
140 B
Diff

--- /dev/null
+++ b/tests/__init__.py
@@ -0,0 +1,3 @@
+import sys
+if '/usr/bin' in sys.path:
+ del sys.path[sys.path.index('/usr/bin')]