From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- dev-python/isort/files/isort-4.3.21_p1-tests.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 dev-python/isort/files/isort-4.3.21_p1-tests.patch (limited to 'dev-python/isort/files') diff --git a/dev-python/isort/files/isort-4.3.21_p1-tests.patch b/dev-python/isort/files/isort-4.3.21_p1-tests.patch new file mode 100644 index 000000000000..9ece5ff6de9b --- /dev/null +++ b/dev-python/isort/files/isort-4.3.21_p1-tests.patch @@ -0,0 +1,36 @@ +diff --git a/test_isort.py b/test_isort.py +index 9d9297c..725b1e1 100644 +--- a/test_isort.py ++++ b/test_isort.py +@@ -1539,6 +1539,7 @@ def test_custom_sections(): + "import p24.shared.media_wiki_syntax as syntax\n") + + ++@pytest.mark.skip("Not going to pull in Django for a couple of tests") + def test_glob_known(): + """Ensure that most specific placement control match wins""" + test_input = ("import os\n" +@@ -2599,6 +2600,7 @@ def test_new_lines_are_preserved(): + os.remove(n_newline.name) + + ++@pytest.mark.skip("Not going to pull in Django for a couple of tests") + def test_requirements_finder(tmpdir): + subdir = tmpdir.mkdir('subdir').join("lol.txt") + subdir.write("flask") +@@ -2675,6 +2677,7 @@ deal = {editable = true, git = "https://github.com/orsinium/deal.git"} + """ + + ++@pytest.mark.skip("Not going to pull in Django for a couple of tests") + def test_pipfile_finder(tmpdir): + pipfile = tmpdir.join('Pipfile') + pipfile.write(PIPFILE) +@@ -2979,6 +2982,7 @@ def test_skip_paths_issue_938(tmpdir): + assert b'skipped 1' in results.lower() + + ++@pytest.mark.skipif(sys.version_info[0] == 2, reason="Broken on Python 2") + def test_standard_library_deprecates_user_issue_778(): + test_input = ('import os\n' + '\n' -- cgit v1.2.3