Skip to content

Commit 97af84d

Browse files
remove integration test for setup.py error as annotations are only supported on 3.7
1 parent 46426e9 commit 97af84d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

testing/test_integration.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
import os
43
import sys
54
import textwrap
65
from pathlib import Path
@@ -136,19 +135,6 @@ def test_pretend_version_accepts_bad_string(
136135
assert pyver == "0.0.0"
137136

138137

139-
def test_own_setup_fails_on_old_python(monkeypatch: pytest.MonkeyPatch) -> None:
140-
monkeypatch.setattr("sys.version_info", (3, 5))
141-
monkeypatch.syspath_prepend(os.path.dirname(os.path.dirname(__file__)))
142-
143-
import setup
144-
145-
with pytest.raises(
146-
RuntimeError,
147-
match="support for python < 3.6 has been removed in setuptools_scm>=6.0.0",
148-
):
149-
setup.scm_version()
150-
151-
152138
def testwarn_on_broken_setuptools() -> None:
153139
_warn_on_old_setuptools("45")
154140
with pytest.warns(RuntimeWarning, match="ERROR: setuptools==44"):

0 commit comments

Comments
 (0)