Skip to content

Commit 31fb78b

Browse files
authored
Merge pull request #980 from scop/fix/pyston-micropython
fix: misc pyston and micropython
2 parents a7fa31b + 5b60ccc commit 31fb78b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

completions/python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ _comp_cmd_python()
6363
_comp_compgen -- -W "help off"
6464
return
6565
;;
66-
!(?(*/)python*([0-9.])|?(*/)pypy*([0-9.])|-?))
66+
!(?(*/)?(micro)python*([0-9.])|?(*/)py@(py|ston)*([0-9.])|-?))
6767
if [[ $cword -lt 2 || ${words[cword - 2]} != -[QWX] ]]; then
6868
_comp_compgen_filedir
6969
return

test/t/test_pyston.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class TestPyston:
66
def test_basic(self, completion):
77
assert completion
88

9-
@pytest.mark.complete("pyston -")
9+
@pytest.mark.complete("pyston -", require_cmd=True)
1010
def test_options(self, completion):
1111
assert completion
1212

0 commit comments

Comments
 (0)