mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-04 08:33:46 +08:00
Replace function call with set literal
This commit is contained in:
1 parent
5755fcb900
commit
cc623218e5
13 files changed
+32
-32
No files matched your search
@@ -34,7 +34,8 @@ def test_follow_import_incomplete():
|
||||
|
||||
# incomplete `from * import` part
|
||||
datetime = check_follow_definition_types("from datetime import datetim")
|
||||
assert set(datetime) == set(['class', 'instance']) # py33: builtin and pure py version
|
||||
assert set(datetime) == {'class',
|
||||
'instance'} # py33: builtin and pure py version
|
||||
|
||||
# os.path check
|
||||
ospath = check_follow_definition_types("from os.path import abspat")
|
||||
|
||||
Reference in new issue
Block a user