Skip to content

Commit

Permalink
Fix xonsh test
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Apr 28, 2024
1 parent dc68af5 commit 32296cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions coconut/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,19 +1032,19 @@ def get_path_env_var(env_var, default):
("dataclasses", "py==36"): (0, 8),
("aenum", "py<34"): (3, 1, 15),
"pydata-sphinx-theme": (0, 15),
"myst-parser": (2,),
"myst-parser": (3,),
"sphinx": (7,),
"mypy[python2]": (1, 8),
"mypy[python2]": (1, 10),
("jupyter-console", "py37"): (6, 6),
("typing", "py<35"): (3, 10),
("typing_extensions", "py>=38"): (4, 9),
("typing_extensions", "py>=38"): (4, 11),
("ipykernel", "py38"): (6,),
("jedi", "py39"): (0, 19),
("pygments", "py>=39"): (2, 17),
("xonsh", "py39"): (0, 15),
("xonsh", "py39"): (0, 16),
("async_generator", "py35"): (1, 10),
("exceptiongroup", "py37;py<311"): (1,),
("ipython", "py>=310"): (8, 22),
("ipython", "py>=310"): (8, 24),
"py-spy": (0, 3),
}

Expand Down
4 changes: 2 additions & 2 deletions coconut/tests/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,12 +953,12 @@ def test_xontrib(self):
pexpect(p, "abc")
pexpect(p, "2")
p.sendline('execx("10 |> print")')
pexpect(p, "subprocess mode")
pexpect(p, ["subprocess mode", "IndexError"])
p.sendline("xontrib unload coconut")
pexpect(p, "$")
if (not PYPY or PY39) and PY36:
p.sendline("1 |> print")
pexpect(p, "subprocess mode")
pexpect(p, ["subprocess mode", "IndexError"])
p.sendeof()
if p.isalive():
p.terminate()
Expand Down

0 comments on commit 32296cf

Please sign in to comment.