@@ -74,6 +74,18 @@ def test_O_PATH_of_os(self):
7474 def test_O_TMPFILE_of_os (self ):
7575 self .assertOnlyIn ((3 , 4 ), self .detect ("from os import O_TMPFILE" ))
7676
77+ def test_O_EVTONLY_of_os (self ):
78+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import O_EVTONLY" ))
79+
80+ def test_O_FSYNC_of_os (self ):
81+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import O_FSYNC" ))
82+
83+ def test_O_SYMLINK_of_os (self ):
84+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import O_SYMLINK" ))
85+
86+ def test_O_NOFOLLOW_ANY_of_os (self ):
87+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import O_NOFOLLOW_ANY" ))
88+
7789 def test_POSIX_FADV_NORMAL_of_os (self ):
7890 self .assertOnlyIn ((3 , 3 ), self .detect ("from os import POSIX_FADV_NORMAL" ))
7991
@@ -276,6 +288,12 @@ def test_VERIFY_X509_STRICT_of_ssl(self):
276288 def test_VERIFY_X509_TRUSTED_FIRST_of_ssl (self ):
277289 self .assertOnlyIn (((2 , 7 ), (3 , 4 )), self .detect ("from ssl import VERIFY_X509_TRUSTED_FIRST" ))
278290
291+ def test_VERIFY_X509_PARTIAL_CHAIN_of_ssl (self ):
292+ self .assertOnlyIn ((3 , 10 ), self .detect ("from ssl import VERIFY_X509_PARTIAL_CHAIN" ))
293+
294+ def test_VERIFY_ALLOW_PROXY_CERTS_of_ssl (self ):
295+ self .assertOnlyIn ((3 , 10 ), self .detect ("from ssl import VERIFY_ALLOW_PROXY_CERTS" ))
296+
279297 def test_PROTOCOL_TLS_of_ssl (self ):
280298 self .assertOnlyIn (((2 , 7 ), (3 , 6 )), self .detect ("from ssl import PROTOCOL_TLS" ))
281299
@@ -321,6 +339,9 @@ def test_OP_NO_COMPRESSION_of_ssl(self):
321339 def test_OP_NO_TICKET_of_ssl (self ):
322340 self .assertOnlyIn ((3 , 6 ), self .detect ("from ssl import OP_NO_TICKET" ))
323341
342+ def test_OP_IGNORE_UNEXPECTED_EOF_of_ssl (self ):
343+ self .assertOnlyIn ((3 , 10 ), self .detect ("from ssl import OP_IGNORE_UNEXPECTED_EOF" ))
344+
324345 def test_HAS_ALPN_of_ssl (self ):
325346 self .assertOnlyIn (((2 , 7 ), (3 , 5 )), self .detect ("from ssl import HAS_ALPN" ))
326347
@@ -378,6 +399,9 @@ def test_session_reused_of_ssl_SSLSocket(self):
378399 def test_check_hostname_of_ssl_SSLContext (self ):
379400 self .assertOnlyIn ((3 , 4 ), self .detect ("from ssl import SSLContext\n SSLContext.check_hostname" ))
380401
402+ def test_security_level_of_ssl_SSLContext (self ):
403+ self .assertOnlyIn ((3 , 10 ), self .detect ("from ssl import SSLContext\n SSLContext.security_level" ))
404+
381405 def test_verify_flags_of_ssl_SSLContext (self ):
382406 self .assertOnlyIn ((3 , 4 ), self .detect ("from ssl import SSLContext\n SSLContext.verify_flags" ))
383407
@@ -621,6 +645,9 @@ def test_MADV_CORE_of_mmap(self):
621645 def test_MADV_PROTECT_of_mmap (self ):
622646 self .assertOnlyIn ((3 , 8 ), self .detect ("import mmap\n mmap.MADV_PROTECT" ))
623647
648+ def test_MAP_POPULATE_of_mmap (self ):
649+ self .assertOnlyIn ((3 , 10 ), self .detect ("import mmap\n mmap.MAP_POPULATE" ))
650+
624651 def test_MFD_CLOEXEC_of_os (self ):
625652 self .assertOnlyIn ((3 , 8 ), self .detect ("from os import MFD_CLOEXEC" ))
626653
@@ -1213,6 +1240,9 @@ def test_RWF_NOWAIT_of_os(self):
12131240 def test_RWF_SYNC_of_os (self ):
12141241 self .assertOnlyIn ((3 , 7 ), self .detect ("from os import RWF_SYNC" ))
12151242
1243+ def test_RWF_APPEND_of_os (self ):
1244+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import RWF_APPEND" ))
1245+
12161246 def test_SCHED_BATCH_of_os (self ):
12171247 self .assertOnlyIn ((3 , 3 ), self .detect ("from os import SCHED_BATCH" ))
12181248
@@ -1312,6 +1342,24 @@ def test_killpg_of_os(self):
13121342 def test_P_PIDFD_of_os (self ):
13131343 self .assertOnlyIn ((3 , 9 ), self .detect ("from os import P_PIDFD" ))
13141344
1345+ def test_SPLICE_F_MOVE_of_os (self ):
1346+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import SPLICE_F_MOVE" ))
1347+
1348+ def test_SPLICE_F_NONBLOCK_of_os (self ):
1349+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import SPLICE_F_NONBLOCK" ))
1350+
1351+ def test_SPLICE_F_MORE_of_os (self ):
1352+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import SPLICE_F_MORE" ))
1353+
1354+ def test_EFD_CLOEXEC_of_os (self ):
1355+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import EFD_CLOEXEC" ))
1356+
1357+ def test_EFD_NONBLOCK_of_os (self ):
1358+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import EFD_NONBLOCK" ))
1359+
1360+ def test_EFD_SEMAPHORE_of_os (self ):
1361+ self .assertOnlyIn ((3 , 10 ), self .detect ("from os import EFD_SEMAPHORE" ))
1362+
13151363 def test_st_atime_from_os_stat (self ):
13161364 self .assertOnlyIn (((2 , 2 ), (3 , 0 )),
13171365 self .detect ("from os import stat\n "
@@ -1530,6 +1578,11 @@ def test_parent_from_pyclbr_Function(self):
15301578 self .detect ("from pyclbr import Function\n "
15311579 "Function().parent" ))
15321580
1581+ def test_is_async_from_pyclbr_Function (self ):
1582+ self .assertOnlyIn ((3 , 10 ),
1583+ self .detect ("from pyclbr import Function\n "
1584+ "Function().is_async" ))
1585+
15331586 def test_colno_from_re_error (self ):
15341587 self .assertOnlyIn ((3 , 5 ),
15351588 self .detect ("from re import error\n "
@@ -1574,6 +1627,9 @@ def test_RLIMIT_NICE_of_resource(self):
15741627 def test_RLIMIT_NPTS_of_resource (self ):
15751628 self .assertOnlyIn ((3 , 4 ), self .detect ("from resource import RLIMIT_NPTS" ))
15761629
1630+ def test_RLIMIT_KQUEUES_of_resource (self ):
1631+ self .assertOnlyIn ((3 , 10 ), self .detect ("from resource import RLIMIT_KQUEUES" ))
1632+
15771633 def test_RLIMIT_RTPRIO_of_resource (self ):
15781634 self .assertOnlyIn ((3 , 4 ), self .detect ("from resource import RLIMIT_RTPRIO" ))
15791635
@@ -2054,6 +2110,9 @@ def test_TCP_NOTSENT_LOWAT_of_socket(self):
20542110 def test_TCP_USER_TIMEOUT_of_socket (self ):
20552111 self .assertOnlyIn ((3 , 6 ), self .detect ("from socket import TCP_USER_TIMEOUT" ))
20562112
2113+ def test_TCP_KEEPALIVE_of_socket (self ):
2114+ self .assertOnlyIn ((3 , 10 ), self .detect ("from socket import TCP_KEEPALIVE" ))
2115+
20572116 def test_TIPC_ADDR_ID_of_socket (self ):
20582117 self .assertOnlyIn (((2 , 6 ), (3 , 0 )), self .detect ("from socket import TIPC_ADDR_ID" ))
20592118
@@ -2135,6 +2194,12 @@ def test_VMADDR_PORT_ANY_of_socket(self):
21352194 def test_IPPROTO_UDPLITE_of_socket (self ):
21362195 self .assertOnlyIn ((3 , 9 ), self .detect ("from socket import IPPROTO_UDPLITE" ))
21372196
2197+ def test_IPPROTO_MPTCP_of_socket (self ):
2198+ self .assertOnlyIn ((3 , 10 ), self .detect ("from socket import IPPROTO_MPTCP" ))
2199+
2200+ def test_IP_RECVTOS_of_socket (self ):
2201+ self .assertOnlyIn ((3 , 10 ), self .detect ("from socket import IP_RECVTOS" ))
2202+
21382203 def test_has_ipv6_of_socket (self ):
21392204 self .assertOnlyIn (((2 , 3 ), (3 , 0 )), self .detect ("from socket import has_ipv6" ))
21402205
@@ -2483,6 +2548,12 @@ def test_int_info_of_sys(self):
24832548 def test_thread_info_of_sys (self ):
24842549 self .assertOnlyIn ((3 , 3 ), self .detect ("from sys import thread_info" ))
24852550
2551+ def test_orig_argv_of_sys (self ):
2552+ self .assertOnlyIn ((3 , 10 ), self .detect ("from sys import orig_argv" ))
2553+
2554+ def test_stdlib_module_names_of_sys (self ):
2555+ self .assertOnlyIn ((3 , 10 ), self .detect ("from sys import stdlib_module_names" ))
2556+
24862557 def test_major_from_sys_version_info (self ):
24872558 self .assertOnlyIn (((2 , 7 ), (3 , 0 )),
24882559 self .detect ("from sys import version_info\n "
@@ -2560,6 +2631,9 @@ def test_native_id_from_threading_Thread(self):
25602631 self .detect ("from threading import Thread\n "
25612632 "Thread().native_id" ))
25622633
2634+ def test___excepthook___from_threading (self ):
2635+ self .assertOnlyIn ((3 , 10 ), self .detect ("from threading import __excepthook__" ))
2636+
25632637 def test_tm_gmtoff_from_time_struct_time (self ):
25642638 self .assertOnlyIn ((3 , 3 ),
25652639 self .detect ("from time import struct_time\n "
@@ -2618,6 +2692,18 @@ def test_ClassMethodDescriptorType_of_types(self):
26182692 def test_CoroutineType_of_types (self ):
26192693 self .assertOnlyIn ((3 , 5 ), self .detect ("from types import CoroutineType" ))
26202694
2695+ def test_NoneType_of_types (self ):
2696+ self .assertOnlyIn ((3 , 10 ), self .detect ("from types import NoneType" ))
2697+
2698+ def test_NotImplementedType_of_types (self ):
2699+ self .assertOnlyIn ((3 , 10 ), self .detect ("from types import NotImplementedType" ))
2700+
2701+ def test_EllipsisType_of_types (self ):
2702+ self .assertOnlyIn ((3 , 10 ), self .detect ("from types import EllipsisType" ))
2703+
2704+ def test_UnionType_of_types (self ):
2705+ self .assertOnlyIn ((3 , 10 ), self .detect ("from types import UnionType" ))
2706+
26212707 def test_GeneratorType_of_types (self ):
26222708 self .assertOnlyIn (((2 , 2 ), (3 , 0 )), self .detect ("from types import GeneratorType" ))
26232709
@@ -2660,6 +2746,21 @@ def test_Literal_of_typing(self):
26602746 def test_Annotated_of_typing (self ):
26612747 self .assertOnlyIn ((3 , 9 ), self .detect ("from typing import Annotated" ))
26622748
2749+ def test_Concatenate_of_typing (self ):
2750+ self .assertOnlyIn ((3 , 10 ), self .detect ("from typing import Concatenate" ))
2751+
2752+ def test_ParamSpecArgs_of_typing (self ):
2753+ self .assertOnlyIn ((3 , 10 ), self .detect ("from typing import ParamSpecArgs" ))
2754+
2755+ def test_ParamSpecKwargs_of_typing (self ):
2756+ self .assertOnlyIn ((3 , 10 ), self .detect ("from typing import ParamSpecKwargs" ))
2757+
2758+ def test_TypeAlias_of_typing (self ):
2759+ self .assertOnlyIn ((3 , 10 ), self .detect ("from typing import TypeAlias" ))
2760+
2761+ def test_TypeGuard_of_typing (self ):
2762+ self .assertOnlyIn ((3 , 10 ), self .detect ("from typing import TypeGuard" ))
2763+
26632764 def test_ucd_3_2_0_of_unicodedata (self ):
26642765 self .assertOnlyIn (((2 , 3 ), (3 , 0 )), self .detect ("from unicodedata import ucd_3_2_0" ))
26652766
@@ -2981,3 +3082,18 @@ def test_kwargs_of_unittest_mock_Mock_call_args(self):
29813082
29823083 def test_status_of_urllib_response_addinfourl (self ):
29833084 self .assertOnlyIn ((3 , 9 ), self .detect ("from urllib.response.addinfourl import status" ))
3085+
3086+ def test_COPY_DICT_WITHOUT_KEYS_of_dis (self ):
3087+ self .assertOnlyIn ((3 , 10 ), self .detect ("from dis import COPY_DICT_WITHOUT_KEYS" ))
3088+
3089+ def test_GET_LEN_of_dis (self ):
3090+ self .assertOnlyIn ((3 , 10 ), self .detect ("from dis import GET_LEN" ))
3091+
3092+ def test_MATCH_KEYS_of_dis (self ):
3093+ self .assertOnlyIn ((3 , 10 ), self .detect ("from dis import MATCH_KEYS" ))
3094+
3095+ def test_MATCH_MAPPING_of_dis (self ):
3096+ self .assertOnlyIn ((3 , 10 ), self .detect ("from dis import MATCH_MAPPING" ))
3097+
3098+ def test_MATCH_SEQUENCE_of_dis (self ):
3099+ self .assertOnlyIn ((3 , 10 ), self .detect ("from dis import MATCH_SEQUENCE" ))
0 commit comments