Skip to content

Commit b6f27e1

Browse files
committed
Fix some tests
1 parent f49d58e commit b6f27e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/replhelper/tests/test_ipyext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def make_event(line, text_until_cursor=None, symbol=""):
3636

3737
def check_version(julia):
3838
if julia.eval('VERSION < v"0.7-"'):
39-
return pytest.skip("Completion not supported in Julia 0.6")
39+
raise pytest.skip("Completion not supported in Julia 0.6")
4040

4141

4242
@pytest.mark.parametrize("event", completable_events)
@@ -46,7 +46,7 @@ def test_completable_events(julia, event):
4646
assert isinstance(completions, list)
4747
check_version(julia)
4848
assert completions
49-
assert set(map(type, completions)) == set(string_types)
49+
assert set(map(type, completions)) <= set(string_types)
5050

5151

5252
@pytest.mark.parametrize("event", uncompletable_events)

0 commit comments

Comments
 (0)