Remove a few unicode references in tests

This commit is contained in:
Dave Halter
2020-07-02 03:18:48 +02:00
parent ef96c4c66b
commit 5a912de937
4 changed files with 8 additions and 13 deletions

View File

@@ -40,7 +40,7 @@ def test_goto_assignment(Script, source, solution):
def test_simple_completions(Script):
# completion
completions = script_with_path(Script, 'from pkg import ').complete()
names = [str(c.name) for c in completions] # str because of unicode
names = [c.name for c in completions]
compare = ['foo', 'ns1_file', 'ns1_folder', 'ns2_folder', 'ns2_file',
'pkg_resources', 'pkgutil', '__name__', '__path__',
'__package__', '__file__', '__doc__']