Skip to content

Commit 62082cd

Browse files
committed
Update test message re to match
1 parent 3a3067a commit 62082cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4501,7 +4501,7 @@ class Concrete3(InheritedRCProto3):
45014501
r"<class .+\.InheritedRCProto\d'> isn't explicitly decorated "
45024502
r"with @runtime_checkable but it is used in issubclass\(\) or "
45034503
r"isinstance\(\). Instance and class checks can only be used with "
4504-
r"@runtime_checkable protocols. This may stop working in Python 3.20."
4504+
r"@runtime_checkable protocols. This will raise a TypeError in Python 3.20."
45054505
)
45064506

45074507
for inherited_runtime_proto in InheritedRCProto1, InheritedRCProto2, InheritedRCProto3:

0 commit comments

Comments
 (0)