mirror of
https://github.com/davidhalter/jedi.git
synced 2026-04-28 12:25:30 +08:00
Format unions with | consistently
This commit is contained in:
@@ -111,4 +111,4 @@ def test_compiled_signature_annotation_string():
|
||||
|
||||
s, = jedi.Interpreter('func()', [locals()]).get_signatures(1, 5)
|
||||
assert s.params[0].description == 'param x: Type'
|
||||
assert s.params[1].description == 'param y: Union[Type, int]'
|
||||
assert s.params[1].description == 'param y: Type | int'
|
||||
|
||||
Reference in New Issue
Block a user