summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2021-03-15 16:10:47 +0700
committerAndrey Grozin <grozin@gentoo.org>2021-03-15 16:11:32 +0700
commitd3be5e6a6404edcf14ba51dc90ea940c7d47f7d7 (patch)
treec4224aae33159ec19cbb6e585b2063f9877848d3 /dev-python
parentdev-haskell/th-orphans: bump up to 0.3.10 (diff)
downloadgentoo-d3be5e6a6404edcf14ba51dc90ea940c7d47f7d7.tar.gz
gentoo-d3be5e6a6404edcf14ba51dc90ea940c7d47f7d7.tar.bz2
gentoo-d3be5e6a6404edcf14ba51dc90ea940c7d47f7d7.zip
dev-python/plumbum: rum pytest without pytest-cov
Closes: https://bugs.gentoo.org/775992 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/plumbum/files/plumbum-1.7.0-test.patch13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-python/plumbum/files/plumbum-1.7.0-test.patch b/dev-python/plumbum/files/plumbum-1.7.0-test.patch
index 2f9f9eb97584..a79c5f67d18a 100644
--- a/dev-python/plumbum/files/plumbum-1.7.0-test.patch
+++ b/dev-python/plumbum/files/plumbum-1.7.0-test.patch
@@ -1,6 +1,15 @@
+diff -r -U2 plumbum-1.7.0.orig/setup.cfg plumbum-1.7.0/setup.cfg
+--- plumbum-1.7.0.orig/setup.cfg 2021-02-09 02:46:57.071159800 +0700
++++ plumbum-1.7.0/setup.cfg 2021-03-15 15:51:13.873287602 +0700
+@@ -66,5 +66,4 @@
+
+ [tool:pytest]
+-addopts = -v -ra --cov-config=setup.cfg
+ norecursedirs = examples experiments
+ timeout = 300
diff -r -U2 plumbum-1.7.0.orig/tests/test_env.py plumbum-1.7.0/tests/test_env.py
--- plumbum-1.7.0.orig/tests/test_env.py 2021-02-09 02:46:46.000000000 +0700
-+++ plumbum-1.7.0/tests/test_env.py 2021-03-14 19:13:56.035129130 +0700
++++ plumbum-1.7.0/tests/test_env.py 2021-03-15 15:50:18.943289430 +0700
@@ -14,4 +14,5 @@
@skip_on_windows
class TestEnv:
@@ -15,7 +24,7 @@ diff -r -U2 plumbum-1.7.0.orig/tests/test_env.py plumbum-1.7.0/tests/test_env.py
keys = {x.split("=")[0] for x in printenv().splitlines() if "=" in x}
diff -r -U2 plumbum-1.7.0.orig/tests/test_local.py plumbum-1.7.0/tests/test_local.py
--- plumbum-1.7.0.orig/tests/test_local.py 2021-02-09 02:46:46.000000000 +0700
-+++ plumbum-1.7.0/tests/test_local.py 2021-03-14 19:00:47.310155381 +0700
++++ plumbum-1.7.0/tests/test_local.py 2021-03-15 15:50:18.943289430 +0700
@@ -168,5 +168,5 @@
assert parts == ("/", "some", "long", "path", "to", "file.txt")