Skip to content

Commit

Permalink
No coverage of obsolete code now that _offset is always zero in p_c_l…
Browse files Browse the repository at this point in the history
….json
  • Loading branch information
martinholmer committed Dec 15, 2024
1 parent 83d0d39 commit 5b00912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taxcalc/policy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
>"""
Tax-Calculator federal tax policy Policy class.
"""
# CODING-STYLE CHECKS:
Expand Down Expand Up @@ -161,7 +161,7 @@ def set_rates(self):
cpi_vals = cpi_vals + cpi_vals[-1:] * (
self.end_year - syr + 1 - len(cpi_vals)
)
if any(cpi_vals):
if any(cpi_vals): # pragma: no cover
cpi_offset = {
(self.start_year + ix): val
for ix, val in enumerate(cpi_vals)
Expand Down

0 comments on commit 5b00912

Please sign in to comment.