Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Jul 27, 2023
1 parent 7f13c92 commit e583890
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions coconut/tests/src/cocotest/agnostic/util.coco
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,10 @@ class unrepresentable:

# Typing
if TYPE_CHECKING or sys.version_info >= (3, 5):
# test from typing import *, but that doesn't actually get us
# the typing_extensions stuff we need, so also then import those
from typing import *
from typing import Protocol

T = TypeVar("T", covariant=True)
U = TypeVar("U", contravariant=True)
Expand Down

0 comments on commit e583890

Please sign in to comment.