mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Replace comparison with None with equality operator
This commit is contained in:
@@ -4,7 +4,7 @@ from jedi import Script
|
||||
def test_module_attributes():
|
||||
def_, = Script('__name__').completions()
|
||||
assert def_.name == '__name__'
|
||||
assert def_.line == None
|
||||
assert def_.column == None
|
||||
assert def_.line is None
|
||||
assert def_.column is None
|
||||
str_, = def_._goto_definitions()
|
||||
assert str_.name == 'str'
|
||||
|
||||
Reference in New Issue
Block a user