Format unions with | consistently

This commit is contained in:
Dave Halter
2026-04-27 14:24:23 +02:00
parent 74fb7ff279
commit d4233732be
2 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -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'