We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f9c47 commit ee324feCopy full SHA for ee324fe
1 file changed
Lib/test/test_descr.py
@@ -1838,7 +1838,7 @@ def test_staticmethod_new(self):
1838
1839
def test_classmethod_new(self):
1840
cm = classmethod.__new__(classmethod, None)
1841
- self.assertIsInstance(repr(cm), str)
+ self.assertEqual(repr(cm), '<classmethod(None)>')
1842
1843
def test_staticmethod_func_readonly(self):
1844
sm = staticmethod(lambda x: x)
0 commit comments