Skip to content

Commit

Permalink
Add nocover codecov pragmas to tmd statements in two modules
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholmer committed Apr 18, 2024
1 parent 6dc7b7a commit c1ecae6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion taxcalc/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def cps_constructor(data=None,
@staticmethod
def tmd_constructor(data=None,
gfactors=GrowFactors(),
exact_calculations=False):
exact_calculations=False): # pragma: no cover
"""
Static method returns a Records object instantiated with TMD
input data. This works in a analogous way to Records(), which
Expand Down
4 changes: 2 additions & 2 deletions taxcalc/taxcalcio.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,11 @@ def init(self, input_data, tax_year, baseline, reform, assump,
recs = Records.tmd_constructor(
gfactors=gfactors_ref,
exact_calculations=exact_calculations
)
) # pragma: no cover
recs_base = Records.tmd_constructor(
gfactors=gfactors_base,
exact_calculations=exact_calculations
)
) # pragma: no cover
else: # if not {cps|tmd}_input_data but aging_input_data
recs = Records(
data=input_data,
Expand Down

0 comments on commit c1ecae6

Please sign in to comment.