Skip to content

Commit

Permalink
Fix unused classes in test case (python#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephSBoyle authored Mar 5, 2023
1 parent 677b446 commit a0858e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test_typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1859,8 +1859,8 @@ def __init__(self):
class DI:
def __init__(self):
self.x = None
self.assertIsInstance(C(), P)
self.assertIsInstance(D(), P)
self.assertIsInstance(CI(), P)
self.assertIsInstance(DI(), P)

def test_protocols_in_unions(self):
class P(Protocol):
Expand Down

0 comments on commit a0858e6

Please sign in to comment.