Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Nov 4, 2023
1 parent f1759b1 commit a99a76d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions coconut/icoconut/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
CoconutInternalException,
)
from coconut.constants import (
WINDOWS,
PY38,
PY311,
py_syntax_version,
mimetype,
Expand All @@ -51,9 +49,6 @@
from coconut.compiler.util import should_indent
from coconut.command.util import Runner

if WINDOWS and PY38 and asyncio is not None: # attempt to fix zmq warning
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

try:
from IPython.core.inputsplitter import IPythonInputSplitter
from IPython.core.interactiveshell import InteractiveShellABC
Expand Down
1 change: 1 addition & 0 deletions coconut/tests/src/cocotest/target_36/py36_test.coco
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def py36_test() -> bool:
|> await
|> reversed
|> map$(.*10)
|> list
) == range(5) |> list
loop.run_until_complete(atest())

Expand Down

0 comments on commit a99a76d

Please sign in to comment.