[Python-checkins] cpython: Issue #19275: Fix test_site failure on OS X due to typo.

ned.deily python-checkins at python.org
Fri Oct 18 00:22:22 CEST 2013


http://hg.python.org/cpython/rev/510bf951210f
changeset:   86415:510bf951210f
user:        Ned Deily <nad at acm.org>
date:        Thu Oct 17 15:21:40 2013 -0700
summary:
  Issue #19275: Fix test_site failure on OS X due to typo.

files:
  Lib/test/test_site.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
--- a/Lib/test/test_site.py
+++ b/Lib/test/test_site.py
@@ -450,7 +450,7 @@
         collection_mods = {'_collections', 'collections', 'functools',
                            'heapq', 'itertools', 'keyword', 'operator',
                            'reprlib', 'types', 'weakref'}
-        self.assertFalse(modules.intersection(re_mods), stderr)
+        self.assertFalse(modules.intersection(collection_mods), stderr)
 
 
 if __name__ == "__main__":

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list