summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_install.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-07-29 00:37:21 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-07-29 00:37:21 (GMT)
commitbab50cb1247f79d10a746ec4dae88848319ff162 (patch)
tree0b7063f0121143132893d16c52141e54ce8eda1d /Lib/packaging/tests/test_install.py
parent7b0908a8e444d735d459bac7c32566f6f11882fe (diff)
downloadcpython-bab50cb1247f79d10a746ec4dae88848319ff162.zip
cpython-bab50cb1247f79d10a746ec4dae88848319ff162.tar.gz
cpython-bab50cb1247f79d10a746ec4dae88848319ff162.tar.bz2
Minor packaging cleanup.
- Use shortcut dist.version instead of going through metadata; - Use %r throughout to display project names and paths.
Diffstat (limited to 'Lib/packaging/tests/test_install.py')
-rw-r--r--Lib/packaging/tests/test_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/tests/test_install.py b/Lib/packaging/tests/test_install.py
index 35733c8..cf0817c 100644
--- a/Lib/packaging/tests/test_install.py
+++ b/Lib/packaging/tests/test_install.py
@@ -29,7 +29,7 @@ class InstalledDist:
self.metadata['Requires-Dist'] = deps
def __repr__(self):
- return '<InstalledDist %s>' % self.metadata['Name']
+ return '<InstalledDist %r>' % self.metadata['Name']
class ToInstallDist: