Skip to content
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

Valve test bug #344

Merged
merged 4 commits into from Apr 14, 2023
Merged

Valve test bug #344

merged 4 commits into from Apr 14, 2023

Conversation

kbonney
Copy link
Collaborator

@kbonney kbonney commented Apr 12, 2023

This PR addresses a testing bug that occurs in test_network_layers.py. The error was only occurring for python 3.10. I believe the issue was caused by a subtle change in how the pandas version used in 3.10 handles empty dataframes. In the WNTR test, two empty dataframes are compared, but their index dtypes are different. Even though they are empty, this raises an assertion error.
I fixed this issue by adding the option to not check index dtype when comparing the DataFrames.

kbonney and others added 4 commits April 12, 2023 14:21
trying old coverage command
restoring coverage command to previous state
…ap, dataframe indexing with sets, and dataframe squeezing. fire_flow_demo simulation results are not matching the saved data for me.
@kaklise kaklise merged commit 7ea2286 into USEPA:main Apr 14, 2023
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants