-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests failing #2525
Comments
@jdebacker, here are the output from my testing on master this morning. I'm not sure what is going on with the skipped tests from test_compatible_data, but I don't seem to be getting the same errors that you are.
|
Initially, I didn't run into any failures, but after rebuilding my Looking at the pandas release notes, it seems like the difference is coming from a change in default floating precision for read_csv (the parser is now more accurate). Seems like we should update the expected outputs in the taxcalc tests folder and pin pandas cc @MattHJensen |
@MattHJensen Thanks for running the tests. Can you update your environment? I have Python 3.8.6 and later versions of Numba, Pandas, ParamTools (and other packages - but those seem most relevant). My conda list:
|
@Peter-Metz Thanks for digging into this. I'll open a PR with those changes you suggest now. |
@Peter-Metz I'm still getting a test failure with one test, Here's the output from that test:
This is with Numba v. 0.52.0. I tried with Numba 0.51.0 (as in @MattHJensen's env) and still found this test to fail.
|
Ah, this one appears to be coming from paramtools. The test passes with paramtools |
Hmmm, let me take a closer look @Peter-Metz |
@jdebacker @Peter-Metz I think I fixed the problem here: jdebacker#1 It's more of a temporary fix, but it should get the unit tests passing again. |
As I ran the suite of unit tests on my branch with PR #2519, I find that four tests fail:
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 latestpuf.csv
file.Differences in the
test_cpscsv.py::test_agg
andtests/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 thenu05
variable, which I thought was removed in favor ofnu06
in PR #2443 (following a change in TaxData).Does anyone else find these same test failures in the master branch?
cc @MattHJensen @Peter-Metz
The text was updated successfully, but these errors were encountered: