diff options
Diffstat (limited to 'tests/run/pep526_variable_annotations_cy.pyx')
-rw-r--r-- | tests/run/pep526_variable_annotations_cy.pyx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run/pep526_variable_annotations_cy.pyx b/tests/run/pep526_variable_annotations_cy.pyx index c08c832b0..448824b36 100644 --- a/tests/run/pep526_variable_annotations_cy.pyx +++ b/tests/run/pep526_variable_annotations_cy.pyx @@ -48,9 +48,9 @@ def test_tuple(typing.Tuple[int, float] a, typing.Tuple[int, ...] b, tuple object tuple object """ - cdef typing.Tuple[int, float] x = (a[0], a[1]) + cdef typing.Tuple[int, float] x = (a[0], a[1]) # C int/float cdef Tuple[int, ...] y = (1,2.) - z = a[0] # should infer to int + z = a[0] # should infer to C int print(cython.typeof(z)) print(cython.typeof(x[0])) |