summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-12-16 22:21:20 -0500
committerVirgil Dupras <vdupras@gentoo.org>2018-12-16 22:21:20 -0500
commit7ce12ba328c652701df7202edfe3a6e11fd2ac8c (patch)
tree54e828b678ecd23a340fbfbf199dbcd42399c55d /dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch
parentdev-db/mariadb-connector-c: fix pkg-config file install location (diff)
downloadgentoo-7ce12ba328c652701df7202edfe3a6e11fd2ac8c.tar.gz
gentoo-7ce12ba328c652701df7202edfe3a6e11fd2ac8c.tar.bz2
gentoo-7ce12ba328c652701df7202edfe3a6e11fd2ac8c.zip
dev-python/tox: bump to 3.6.0
Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch')
-rw-r--r--dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch b/dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch
new file mode 100644
index 000000000000..ea39bb30c1c7
--- /dev/null
+++ b/dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch
@@ -0,0 +1,39 @@
+diff --git a/tests/unit/test_config.py b/tests/unit/test_config.py
+index 08a1ced..86e3fb6 100644
+--- a/tests/unit/test_config.py
++++ b/tests/unit/test_config.py
+@@ -1869,7 +1869,7 @@ class TestConfigTestEnv:
+ for name, config in configs.items():
+ assert config.basepython == "python{}.{}".format(name[2], name[3])
+
+- def test_default_factors_conflict(self, newconfig, capsys):
++ def xtest_default_factors_conflict(self, newconfig, capsys):
+ with pytest.warns(UserWarning, match=r"conflicting basepython .*"):
+ config = newconfig(
+ """
+diff --git a/tests/unit/test_interpreters.py b/tests/unit/test_interpreters.py
+index 0787b95..51e2ccc 100644
+--- a/tests/unit/test_interpreters.py
++++ b/tests/unit/test_interpreters.py
+@@ -60,7 +60,7 @@ def test_locate_via_py(monkeypatch):
+ assert fake_popen.last_call == ("py", "-3", "-c")
+
+
+-def test_tox_get_python_executable():
++def xtest_tox_get_python_executable():
+ class envconfig:
+ basepython = sys.executable
+ envname = "pyxx"
+diff --git a/tests/unit/test_venv.py b/tests/unit/test_venv.py
+index 51cb3c0..31a273e 100644
+--- a/tests/unit/test_venv.py
++++ b/tests/unit/test_venv.py
+@@ -427,7 +427,7 @@ def test_install_command_not_installed_bash(newmocksession):
+ mocksession.report.expect("warning", "*test command found but not*")
+
+
+-def test_install_python3(newmocksession):
++def xtest_install_python3(newmocksession):
+ if not py.path.local.sysfind("python3"):
+ pytest.skip("needs python3")
+ mocksession = newmocksession(