diff options
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r-- | Lib/test/test_descr.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index dc18f33..b5d9890 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -4589,6 +4589,10 @@ class DictProxyTests(unittest.TestCase): pass self.C = C + def test_repr(self): + self.assertIn('dict_proxy({', repr(vars(self.C))) + self.assertIn("'meth':", repr(vars(self.C))) + def test_iter_keys(self): # Testing dict-proxy iterkeys... keys = [ key for key in self.C.__dict__.iterkeys() ] |