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:
parent
65398f0051
commit
585b37e70f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user