1
1
mirror of https://github.com/dbcli/pgcli.git synced 2024-10-06 02:07:53 +03:00

Fix failing tests for python 3.

This commit is contained in:
Amjith Ramanujam 2015-08-23 01:47:01 -07:00
parent 65398f0051
commit 585b37e70f

View File

@ -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):