mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
Add er.Generator.__getattr__
This commit is contained in:
@@ -50,4 +50,4 @@ def make_definitions():
|
||||
@pytest.mark.parametrize('definition', make_definitions())
|
||||
def test_basedefinition_type(definition):
|
||||
assert definition.type in ('module', 'class', 'instance', 'function',
|
||||
'statement', 'import', 'param')
|
||||
'generator', 'statement', 'import', 'param')
|
||||
|
||||
Reference in New Issue
Block a user