Skip to content

Commit 5eb85ff

Browse files
committed
gh-58211: Add tests for __self__ attribute of builtins functions
1 parent 3796829 commit 5eb85ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_funcattrs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import typing
44
import unittest
55
import warnings
6+
from test import support
67

78

89
def global_function():
@@ -478,6 +479,7 @@ def test_builtin__qualname__(self):
478479
self.assertEqual([1, 2, 3].append.__qualname__, 'list.append')
479480
self.assertEqual({'foo': 'bar'}.pop.__qualname__, 'dict.pop')
480481

482+
@support.cpython_only # See gh-58211
481483
def test_builtin__self__(self):
482484
import time
483485
import builtins

0 commit comments

Comments
 (0)