[Python-checkins] cpython (2.7): Don't use sebTest() in tests for issue #5815.

serhiy.storchaka python-checkins at python.org
Thu Dec 19 21:32:50 CET 2013


http://hg.python.org/cpython/rev/e0675408f4af
changeset:   88076:e0675408f4af
branch:      2.7
parent:      88069:3d805bee06e2
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Thu Dec 19 22:28:25 2013 +0200
summary:
  Don't use sebTest() in tests for issue #5815.

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


diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
@@ -378,8 +378,7 @@
 
     def test_locale_alias(self):
         for localename, alias in locale.locale_alias.items():
-            with self.subTest(locale=(localename, alias)):
-                self.check(localename, alias)
+            self.check(localename, alias)
 
     def test_empty(self):
         self.check('', '')

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


More information about the Python-checkins mailing list