Skip to content

Commit

Permalink
Move 'pragma: no cover' comment
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholmer committed Sep 26, 2024
1 parent 1d1b6e2 commit 86b8b74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions taxcalc/taxcalcio.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def init(self, input_data, tax_year, baseline, reform, assump,
gfactors=gfactors_base,
exact_calculations=exact_calculations
)
elif self.tmd_input_data:
elif self.tmd_input_data: # pragma: no cover
wghts = pd.read_csv(self.tmd_weights)
recs = Records(
data=pd.read_csv(input_data),
Expand All @@ -356,15 +356,15 @@ def init(self, input_data, tax_year, baseline, reform, assump,
gfactors=gfactors_ref,
adjust_ratios=None,
exact_calculations=exact_calculations
) # pragma: no cover
)
recs_base = Records(
data=pd.read_csv(input_data),
start_year=Records.TMDCSV_YEAR,
weights=wghts,
gfactors=gfactors_base,
adjust_ratios=None,
exact_calculations=exact_calculations
) # pragma: no cover
)
else: # if not {cps|tmd}_input_data but aging_input_data: puf
recs = Records(
data=input_data,
Expand Down

0 comments on commit 86b8b74

Please sign in to comment.