Skip to content

Commit b93f48c

Browse files
committed
address review: test_funcattrs.py
1 parent 3a4c818 commit b93f48c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_funcattrs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ def test_builtin__qualname__(self):
486486

487487
# builtin classmethod:
488488
self.assertEqual(dict.fromkeys.__qualname__, 'dict.fromkeys')
489+
self.assertEqual(int.from_bytes.__qualname__, 'int.from_bytes')
489490

490491
# builtin staticmethod:
491492
self.assertEqual(str.maketrans.__qualname__, 'str.maketrans')
@@ -507,6 +508,7 @@ def test_builtin__self__(self):
507508

508509
# builtin classmethod:
509510
self.assertIs(dict.fromkeys.__self__, dict)
511+
self.assertIs(int.from_bytes.__self__, int)
510512

511513
# builtin staticmethod:
512514
self.assertIsNone(str.maketrans.__self__)

0 commit comments

Comments
 (0)