From 52559e83cfc838884d938b2045a7d818f9a977db Mon Sep 17 00:00:00 2001 From: Akuli Date: Mon, 29 Nov 2021 19:01:00 +0200 Subject: [PATCH] add comment about CodeType.replace to stubtest allowlists (#6447) --- tests/stubtest_allowlists/py310.txt | 2 +- tests/stubtest_allowlists/py38.txt | 2 +- tests/stubtest_allowlists/py39.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/stubtest_allowlists/py310.txt b/tests/stubtest_allowlists/py310.txt index 08cd87aa6..d2a7131e5 100644 --- a/tests/stubtest_allowlists/py310.txt +++ b/tests/stubtest_allowlists/py310.txt @@ -72,7 +72,7 @@ ssl.RAND_egd # Depends on openssl compilation symtable.SymbolTable.has_exec sys.UnraisableHookArgs # Not exported from sys types.ClassMethodDescriptorType.__get__ -types.CodeType.replace +types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime types.GenericAlias.__getattr__ types.MethodDescriptorType.__get__ types.WrapperDescriptorType.__get__ diff --git a/tests/stubtest_allowlists/py38.txt b/tests/stubtest_allowlists/py38.txt index 5188b0510..c39e36660 100644 --- a/tests/stubtest_allowlists/py38.txt +++ b/tests/stubtest_allowlists/py38.txt @@ -57,7 +57,7 @@ ssl.PROTOCOL_SSLv3 # Depends on ssl compilation ssl.RAND_egd # Depends on openssl compilation sys.UnraisableHookArgs # Not exported from sys types.ClassMethodDescriptorType.__get__ -types.CodeType.replace +types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime types.MethodDescriptorType.__get__ types.WrapperDescriptorType.__get__ typing.NamedTuple.__new__ diff --git a/tests/stubtest_allowlists/py39.txt b/tests/stubtest_allowlists/py39.txt index 80df8d088..6702acad1 100644 --- a/tests/stubtest_allowlists/py39.txt +++ b/tests/stubtest_allowlists/py39.txt @@ -63,7 +63,7 @@ ssl.RAND_egd # Depends on openssl compilation symtable.SymbolTable.has_exec sys.UnraisableHookArgs # Not exported from sys types.ClassMethodDescriptorType.__get__ -types.CodeType.replace +types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime types.GenericAlias.__getattr__ types.MethodDescriptorType.__get__ types.WrapperDescriptorType.__get__