Skip to content

Unit tests failing #2525

Closed
Closed
@jdebacker

Description

@jdebacker

As I ran the suite of unit tests on my branch with PR #2519, I find that four tests fail:

FAILED tests/test_cpscsv.py::test_agg - ValueError: CPSCSV AGG RESULTS DIFFER
FAILED tests/test_puf_var_stats.py::test_puf_var_stats - numba.core.errors.Ty...
FAILED tests/test_pufcsv.py::test_agg - ValueError: PUFCSV AGG RESULTS DIFFER...
FAILED tests/test_pufcsv.py::test_puf_availability - AssertionError: assert {...

I didn't think that any changes for that PR should have affected these tests, so I checked out the master branch and the same four tests failed. I had just rebuilt my taxcalc-dev environment and I checked that had the latest puf.csv file.

Differences in the test_cpscsv.py::test_agg and tests/test_pufcsv.py::test_agg are small and mostly related to standard vs itemized deductions in years 2021-2026.

tests/test_pufcsv.py::test_puf_availability fails when looking for the nu05 variable, which I thought was removed in favor of nu06 in PR #2443 (following a change in TaxData).

Does anyone else find these same test failures in the master branch?

cc @MattHJensen @Peter-Metz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions