File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
2
3
- import os
4
3
import sys
5
4
import textwrap
6
5
from pathlib import Path
@@ -136,19 +135,6 @@ def test_pretend_version_accepts_bad_string(
136
135
assert pyver == "0.0.0"
137
136
138
137
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
-
152
138
def testwarn_on_broken_setuptools () -> None :
153
139
_warn_on_old_setuptools ("45" )
154
140
with pytest .warns (RuntimeWarning , match = "ERROR: setuptools==44" ):
You can’t perform that action at this time.
0 commit comments