diff options
author | Windson yang <wiwindson@outlook.com> | 2019-04-22 18:51:06 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2019-04-22 18:51:06 (GMT) |
commit | d437012cdd4a38b5b3d05f139d5f0a28196e4769 (patch) | |
tree | 4f6fcbb5f5a71cbf3cabef07b88beccb0d0bedca /Lib | |
parent | c442b1c486db5cb0aa589b43f73385d9cc5706e3 (diff) | |
download | cpython-d437012cdd4a38b5b3d05f139d5f0a28196e4769.zip cpython-d437012cdd4a38b5b3d05f139d5f0a28196e4769.tar.gz cpython-d437012cdd4a38b5b3d05f139d5f0a28196e4769.tar.bz2 |
bpo-36679: Rename duplicate test_class_getitem function (GH-12892)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_genericclass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_genericclass.py b/Lib/test/test_genericclass.py index 37a87bc..27420d4 100644 --- a/Lib/test/test_genericclass.py +++ b/Lib/test/test_genericclass.py @@ -158,7 +158,7 @@ class TestClassGetitem(unittest.TestCase): self.assertEqual(getitem_args[0], (C, (int, str))) self.assertEqual(getitem_args[1], {}) - def test_class_getitem(self): + def test_class_getitem_format(self): class C: def __class_getitem__(cls, item): return f'C[{item.__name__}]' |