15
0

Accepting request 730493 from home:jayvdb:devpi

from :misc

OBS-URL: https://build.opensuse.org/request/show/730493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-client?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2019-09-16 08:36:09 +00:00
committed by Git OBS Bridge
commit c890460d3b
6 changed files with 138 additions and 0 deletions

14
test_sys_executable.patch Normal file
View File

@@ -0,0 +1,14 @@
--- devpi-client-5.0.0/testing/test_upload.py.orig 2019-09-13 09:09:28.701349155 +0700
+++ devpi-client-5.0.0/testing/test_upload.py 2019-09-13 09:09:49.097574807 +0700
@@ -45,11 +45,6 @@
@pytest.mark.skipif("config.option.fast")
class TestCheckout:
- @pytest.fixture(autouse=True)
- def no_sys_executable(self, monkeypatch):
- """ make sure sys.executable is not used accidentally. """
- monkeypatch.setattr(sys, "executable", None)
-
@pytest.fixture(scope="class", params=[".", "setupdir"])
def setupdir_rel(self, request):
return request.param