From: Serhiy Storchaka Date: Tue, 10 Dec 2013 08:20:11 +0000 (+0200) Subject: Issue #19928: Implemented a test for repr() of cell objects. X-Git-Tag: v2.7.8~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95d721927a4e4c5acb4a7d23bd15a3af1ce26bd2;p=python Issue #19928: Implemented a test for repr() of cell objects. --- diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py index 062fccf9e0..ae5203d107 100644 --- a/Lib/test/test_repr.py +++ b/Lib/test/test_repr.py @@ -179,8 +179,15 @@ class ReprTests(unittest.TestCase): self.assertTrue(repr(x).startswith('') + self.assertRegexpMatches(r(x), r'') def test_descriptors(self): eq = self.assertEqual diff --git a/Misc/NEWS b/Misc/NEWS index 30b796716f..b1a4e1ffa4 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -77,6 +77,8 @@ IDLE Tests ----- +- Issue #19928: Implemented a test for repr() of cell objects. + - Issue #19595: Re-enabled a long-disabled test in test_winsound. - Issue #19588: Fixed tests in test_random that were silently skipped most