@@ -364,9 +364,7 @@ def calculate_dataframe(self, columns):
364364 "employment_income" : {
365365 tp : np .array ([20_000 , 35_000 , 90_000 , 150_000 ], dtype = np .float32 )
366366 },
367- "self_employment_income" : {
368- tp : np .zeros (4 , dtype = np .float32 )
369- },
367+ "self_employment_income" : {tp : np .zeros (4 , dtype = np .float32 )},
370368 "social_security" : {tp : np .zeros (4 , dtype = np .float32 )},
371369 "is_tax_unit_head" : {tp : np .ones (4 , dtype = bool )},
372370 "is_tax_unit_spouse" : {tp : np .zeros (4 , dtype = bool )},
@@ -387,9 +385,7 @@ def calculate_dataframe(self, columns):
387385 assert result ["tax_unit_is_joint" ].tolist () == [0 , 1 ]
388386
389387 def test_derive_overtime_occupation_inputs (self ):
390- derived = _derive_overtime_occupation_inputs (
391- np .array ([53 , 52 , 8 , 41 , 1 , 99 ])
392- )
388+ derived = _derive_overtime_occupation_inputs (np .array ([53 , 52 , 8 , 41 , 1 , 99 ]))
393389
394390 assert derived ["has_never_worked" ].tolist () == [
395391 True ,
@@ -477,7 +473,9 @@ def calculate_dataframe(self, columns):
477473 "is_tax_unit_head" : {tp : np .array ([1 , 0 , 1 , 0 ], dtype = bool )},
478474 "is_tax_unit_spouse" : {tp : np .zeros (4 , dtype = bool )},
479475 "is_tax_unit_dependent" : {tp : np .array ([0 , 1 , 0 , 1 ], dtype = bool )},
480- "employment_income" : {tp : np .array ([95_000 , 0 , 97_000 , 0 ], dtype = np .float32 )},
476+ "employment_income" : {
477+ tp : np .array ([95_000 , 0 , 97_000 , 0 ], dtype = np .float32 )
478+ },
481479 "self_employment_income" : {tp : np .zeros (4 , dtype = np .float32 )},
482480 "social_security" : {tp : np .zeros (4 , dtype = np .float32 )},
483481 }
0 commit comments