From 1fa678e3fe93a40a1531476ccc690ae6f00bac5e Mon Sep 17 00:00:00 2001 From: Johannes Maria Frank Date: Thu, 10 Oct 2019 13:23:33 +0200 Subject: [PATCH] Corrected an error in the math fuzzy completion test --- test/test_api/test_api.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_api/test_api.py b/test/test_api/test_api.py index 25591cab..d5371c1f 100644 --- a/test/test_api/test_api.py +++ b/test/test_api/test_api.py @@ -317,13 +317,13 @@ def test_str_fuzzy_completion(Script): reason="requires python3.3 or higher") def test_math_fuzzy_completion(Script): script = Script('import math\nmath.og') - assert ['copysign', 'log', 'log10', - 'log1p'] == [comp.name for comp in script.completions(fuzzy=True)] + assert ['copysign', 'log', 'log10', 'log1p', + 'log2'] == [comp.name for comp in script.completions(fuzzy=True)] @pytest.mark.skipif(sys.version_info >= (3, 3), reason="requires python3.3 or higher") def test_math_fuzzy_completion(Script): script = Script('import math\nmath.og') - assert ['copysign', 'log', 'log10', 'log1p', - 'log2'] == [comp.name for comp in script.completions(fuzzy=True)] + assert ['copysign', 'log', 'log10', + 'log1p'] == [comp.name for comp in script.completions(fuzzy=True)]