summaryrefslogtreecommitdiff
blob: 9ece5ff6de9bd82659044ea9e43ac8b517770941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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'