aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources/api_tests.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pkg_resources/api_tests.txt')
-rw-r--r--pkg_resources/api_tests.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources/api_tests.txt b/pkg_resources/api_tests.txt
index 0a75170e..7ae5a038 100644
--- a/pkg_resources/api_tests.txt
+++ b/pkg_resources/api_tests.txt
@@ -36,7 +36,7 @@ Distributions have various introspectable attributes::
>>> dist.version
'0.9'
- >>> dist.py_version == sys.version[:3]
+ >>> dist.py_version == '{}.{}'.format(*sys.version_info)
True
>>> print(dist.platform)