aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-05-16 20:18:54 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-05-16 20:18:54 -0400
commita11c8eac4bf7e1b97f489395565d96076285617d (patch)
treeca5cec842dc9bbfb61b3c7b8b8e8e7070445734a /setuptools/tests
parent43bbaa5827d38eede4ca8c837c9fc4994f9ab665 (diff)
downloadexternal_python_setuptools-a11c8eac4bf7e1b97f489395565d96076285617d.tar.gz
external_python_setuptools-a11c8eac4bf7e1b97f489395565d96076285617d.tar.bz2
external_python_setuptools-a11c8eac4bf7e1b97f489395565d96076285617d.zip
Alter test so it actually triggers the intended behavior.
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_config.py b/setuptools/tests/test_config.py
index 961f8d42..6840a8e2 100644
--- a/setuptools/tests/test_config.py
+++ b/setuptools/tests/test_config.py
@@ -300,14 +300,14 @@ class TestMetadata:
with get_dist(tmpdir) as dist:
assert dist.metadata.version == '2016.11.26'
- subpack.join('submodule.py').write(
+ subpack.join('othersub.py').write(
'import third_party_module\n'
'VERSION = (2016, 11, 26)'
)
config.write(
'[metadata]\n'
- 'version = attr: fake_package.subpackage.submodule.VERSION\n'
+ 'version = attr: fake_package.subpackage.othersub.VERSION\n'
)
with get_dist(tmpdir) as dist:
assert dist.metadata.version == '2016.11.26'