[Python-checkins] distutils2: Added some more hash testing to make the intent of equal hashes clearer.
tarek.ziade
python-checkins at python.org
Sat Oct 2 00:52:19 CEST 2010
tarek.ziade pushed 6c3bcf1c4499 to distutils2:
http://hg.python.org/distutils2/rev/6c3bcf1c4499
changeset: 705:6c3bcf1c4499
user: Amos Latteier <amos at latteier.com>
date: Wed Sep 29 22:02:26 2010 -0400
summary: Added some more hash testing to make the intent of equal hashes clearer.
files: distutils2/tests/test_version.py
diff --git a/distutils2/tests/test_version.py b/distutils2/tests/test_version.py
--- a/distutils2/tests/test_version.py
+++ b/distutils2/tests/test_version.py
@@ -40,6 +40,8 @@
for v, s in self.versions:
self.assertIn(v, versions)
+ self.assertEqual(set([V('1.0')]), set([V('1.0'), V('1.0')]))
+
def test_from_parts(self):
for v, s in self.versions:
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list