Skip to content

Commit 03426a5

Browse files
Adjust deferral test for Protocol backport to 3.13
1 parent caa56d3 commit 03426a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test_typing_extensions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7071,13 +7071,13 @@ def test_typing_extensions_defers_when_possible(self):
70717071
}
70727072
if sys.version_info < (3, 13):
70737073
exclude |= {
7074-
'NamedTuple', 'Protocol', 'runtime_checkable', 'Generator',
7074+
'NamedTuple', 'runtime_checkable', 'Generator',
70757075
'AsyncGenerator', 'ContextManager', 'AsyncContextManager',
70767076
'ParamSpec', 'TypeVar', 'TypeVarTuple', 'get_type_hints',
70777077
}
70787078
if sys.version_info < (3, 14):
70797079
exclude |= {
7080-
'TypeAliasType'
7080+
'TypeAliasType', 'Protocol'
70817081
}
70827082
if not typing_extensions._PEP_728_IMPLEMENTED:
70837083
exclude |= {'TypedDict', 'is_typeddict'}

0 commit comments

Comments
 (0)