diff options
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) |
commit | bab50cb1247f79d10a746ec4dae88848319ff162 (patch) | |
tree | 0b7063f0121143132893d16c52141e54ce8eda1d /Lib/packaging/tests/test_install.py | |
parent | 7b0908a8e444d735d459bac7c32566f6f11882fe (diff) | |
download | cpython-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.py | 2 |
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: |