File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,7 @@ def test_config_not_set(repo, create_config):
13
13
assert get_version (repo ) == "0.0.0"
14
14
15
15
16
- @pytest .mark .parametrize (
17
- "option" ,
18
- ["version_config" , "setuptools_git_versioning" ],
19
- )
20
- def test_config_not_used (repo , option ):
16
+ def test_config_not_used (repo ):
21
17
create_file (
22
18
repo ,
23
19
"setup.py" ,
@@ -33,14 +29,14 @@ def test_config_not_used(repo, option):
33
29
34
30
setuptools.setup(
35
31
name="mypkg",
36
- {option}=None,
37
32
)
38
33
finally:
39
34
coverage.stop()
40
35
coverage.save()
41
36
"""
42
- ). format ( option = option ) ,
37
+ ),
43
38
)
39
+ assert get_version_setup_py (repo ) == "0.0.0"
44
40
45
41
cfg = {
46
42
"build-system" : {
@@ -59,7 +55,6 @@ def test_config_not_used(repo, option):
59
55
toml .dumps (cfg ),
60
56
)
61
57
62
- assert get_version_setup_py (repo ) == "0.0.0"
63
58
assert get_version (repo , isolated = False ) == "0.0.0"
64
59
assert get_version (repo , isolated = True ) == "0.0.0"
65
60
You can’t perform that action at this time.
0 commit comments