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

Fix integration test failure #101

Merged
merged 1 commit into from
Feb 12, 2021
Merged

Fix integration test failure #101

merged 1 commit into from
Feb 12, 2021

Conversation

xgchena
Copy link
Contributor

@xgchena xgchena commented Feb 12, 2021

Issue #, if available:

The integration test is comparing floating numbers directly, it failed due to numpy precision change (numpy/numpy#18371)

I reproduced the issue on an AWS EC2 host, by

./devtool integ_tests

Description of changes:

This commit fixes the issue by adding pytest.approx.

devtool all passed
devtool integ_tests passed

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The integration test compares floating numbers directly, it failed due
to numpy precision change (numpy/numpy#18371)
This commit fixed the issue by adding pytest.approx.
Copy link

@AnkitSiva AnkitSiva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@xgchena xgchena merged commit cfd6689 into aws:master Feb 12, 2021
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.

5 participants