Fix bytes issue with file path adding

This commit is contained in:
Dave Halter
2019-08-06 01:07:42 +02:00
parent 98a550e352
commit 3a9dc0ca2e
4 changed files with 13 additions and 6 deletions

View File

@@ -195,6 +195,9 @@ def test_keyword_completion(Script, code, has_keywords):
('example.py', 'x = f("te" + "st"', 16, [s]),
('example.py', 'x = f("te" + "st")', 16, [s]),
('example.py', 'x = f("t" + "est")', 16, [s]),
# This is actually not correct, but for now leave it here, because of
# Python 2.
('example.py', 'x = f(b"t" + "est")', 17, [s]),
('example.py', '"test" + "', None, [s]),
]
)