diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-08-23 01:47:01 -0700 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-08-23 01:50:09 -0700 |
commit | 585b37e70fbb9a3aeeb1b2a660e2189c69100e64 (patch) | |
tree | 7aceeacf47a6d0ca6e7e8097da4e791acd6dd3d4 | |
parent | 65398f00516f78d719aa1c616d2bc5861d26a8e8 (diff) |
Fix failing tests for python 3.
-rw-r--r-- | tests/test_smart_completion_multiple_schemata.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_smart_completion_multiple_schemata.py b/tests/test_smart_completion_multiple_schemata.py index 421b25e9..fd8854d6 100644 --- a/tests/test_smart_completion_multiple_schemata.py +++ b/tests/test_smart_completion_multiple_schemata.py @@ -204,8 +204,8 @@ def test_suggested_multiple_column_names(completer, complete_event): Completion(text='price', start_position=0, display_meta='column'), Completion(text='func1', start_position=0, display_meta='function'), Completion(text='func2', start_position=0, display_meta='function')] + - map(lambda f: Completion(f, display_meta='function'), completer.functions) + - map(lambda x: Completion(x, display_meta='keyword'), completer.keywords) + list(map(lambda f: Completion(f, display_meta='function'), completer.functions)) + + list(map(lambda x: Completion(x, display_meta='keyword'), completer.keywords)) ) def test_suggested_multiple_column_names_with_alias(completer, complete_event): |