@@ -109,10 +109,10 @@ def test_add_vals_to_signature(self):
109109 vals = {'a' : {'name' : 3 }, 'b' : 3 }
110110
111111 expected = type_annotations .Signature (parameters = [{'a' : Dict [float , int ], 'b' : int },
112- {'a' : Dict [str , int ], 'b' : int },
113- {'a' : Dict [float , str ], 'b' : int },
114- {'a' : Dict [str , str ], 'b' : int }],
115- defaults = {'a' : {'name' : 3 }, 'b' : 3 })
112+ {'a' : Dict [str , int ], 'b' : int },
113+ {'a' : Dict [float , str ], 'b' : int },
114+ {'a' : Dict [str , str ], 'b' : int }],
115+ defaults = {'a' : {'name' : 3 }, 'b' : 3 })
116116
117117 result = type_annotations .add_vals_to_signature (signature , vals )
118118
@@ -178,14 +178,14 @@ def test_product_annotations(self):
178178 'c' : [T , bool ], 'd' : [int ]}, {'d' : 3 })
179179
180180 expected = type_annotations .Signature (parameters = [{'a' : int , 'b' : Dict [int , float ], 'c' : int , 'd' : int },
181- {'a' : str , 'b' : Dict [str , float ], 'c' : str , 'd' : int },
182- {'a' : int , 'b' : Dict [int , bool ], 'c' : int , 'd' : int },
183- {'a' : str , 'b' : Dict [str , bool ], 'c' : str , 'd' : int },
184- {'a' : int , 'b' : Dict [int , float ], 'c' : bool , 'd' : int },
185- {'a' : str , 'b' : Dict [str , float ], 'c' : bool , 'd' : int },
186- {'a' : int , 'b' : Dict [int , bool ], 'c' : bool , 'd' : int },
187- {'a' : str , 'b' : Dict [str , bool ], 'c' : bool , 'd' : int }],
188- defaults = {'d' : 3 })
181+ {'a' : str , 'b' : Dict [str , float ], 'c' : str , 'd' : int },
182+ {'a' : int , 'b' : Dict [int , bool ], 'c' : int , 'd' : int },
183+ {'a' : str , 'b' : Dict [str , bool ], 'c' : str , 'd' : int },
184+ {'a' : int , 'b' : Dict [int , float ], 'c' : bool , 'd' : int },
185+ {'a' : str , 'b' : Dict [str , float ], 'c' : bool , 'd' : int },
186+ {'a' : int , 'b' : Dict [int , bool ], 'c' : bool , 'd' : int },
187+ {'a' : str , 'b' : Dict [str , bool ], 'c' : bool , 'd' : int }],
188+ defaults = {'d' : 3 })
189189
190190 result = type_annotations .product_annotations (annotations )
191191
0 commit comments