[Python-checkins] r80538 - in python/branches/release26-maint: Lib/test/regrtest.py Misc/NEWS
victor.stinner
python-checkins at python.org
Tue Apr 27 20:25:39 CEST 2010
Author: victor.stinner
Date: Tue Apr 27 20:25:39 2010
New Revision: 80538
Log:
Issue #7027: regrtest.py keeps a reference to the encodings.ascii module as a
workaround to #7140 bug
Modified:
python/branches/release26-maint/Lib/test/regrtest.py
python/branches/release26-maint/Misc/NEWS
Modified: python/branches/release26-maint/Lib/test/regrtest.py
==============================================================================
--- python/branches/release26-maint/Lib/test/regrtest.py (original)
+++ python/branches/release26-maint/Lib/test/regrtest.py Tue Apr 27 20:25:39 2010
@@ -130,6 +130,9 @@
import time
import traceback
import warnings
+# keep a reference to the ascii module to workaround #7140 bug
+# (see issue #7027)
+import encodings.ascii
# I see no other way to suppress these warnings;
# putting them in test_grammar.py has no effect:
Modified: python/branches/release26-maint/Misc/NEWS
==============================================================================
--- python/branches/release26-maint/Misc/NEWS (original)
+++ python/branches/release26-maint/Misc/NEWS Tue Apr 27 20:25:39 2010
@@ -119,6 +119,9 @@
Tests
-----
+- Issue #7027: regrtest.py keeps a reference to the encodings.ascii module as a
+ workaround to #7140 bug
+
- Issue #3864: Skip three test_signal tests on freebsd6 because they fail
if any thread was previously started, most likely due to a platform bug.
More information about the Python-checkins
mailing list