summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-12-06 11:18:09 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-12-06 11:18:31 -0800
commit5e78d68ea903198a5b3a9bbe72d00c731e250231 (patch)
tree3b099bdb681d52ae62e1dc80085cc95fde2f920b /dev-python/isort/files
parentdev-python/pipfile: New package (diff)
downloadgentoo-5e78d68ea903198a5b3a9bbe72d00c731e250231.tar.gz
gentoo-5e78d68ea903198a5b3a9bbe72d00c731e250231.tar.bz2
gentoo-5e78d68ea903198a5b3a9bbe72d00c731e250231.zip
dev-python/isort-4.3.21_p2: Version bump, add py38, pypy3
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/isort/files')
-rw-r--r--dev-python/isort/files/isort-4.3.21_p1-tests.patch36
1 files changed, 36 insertions, 0 deletions
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'