Skip to content

Commit 37df249

Browse files
committed
mark _thread.interrupt_main signature unsupported
previously IntEnum was rendered as 2. I think we should rather preserve repr for int's subclass, like pure-Python methods do. see also #61005
1 parent 5927385 commit 37df249

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/test/test_inspect/test_inspect.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6375,7 +6375,9 @@ def test_threading_module_has_signatures(self):
63756375
def test_thread_module_has_signatures(self):
63766376
import _thread
63776377
no_signature = {'RLock'}
6378-
self._test_module_has_signatures(_thread, no_signature)
6378+
unsupported_signature = {'interrupt_main'}
6379+
self._test_module_has_signatures(_thread, no_signature,
6380+
unsupported_signature=unsupported_signature)
63796381

63806382
def test_time_module_has_signatures(self):
63816383
no_signature = {

0 commit comments

Comments
 (0)