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

[MAINTENANCE] Cleanup: Removed depreicated warnings relating to test … #331

Closed
wants to merge 2 commits into from

Conversation

The-inside-man
Copy link
Contributor

Summary

Noticed many warnings related to deprecated usage.
Updated to the Python recommended versions.
assertRaisesRegexp -> assertRaisesRegex, assertEquals -> assertEqual, and isAlive() -> isAlive()

Test plan

Run through tests with prior Python versions for compatibility generated from this PR.

Issues

Not attached to any Jira

…cases. assertRaisesRegexp -> assertRaisesRegex, assertEquals -> assertEqual, and isAlive() -> isAlive().
@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.838% when pulling f4e3f4b on jbrown/testcases-remove-warnings into 7607cf4 on master.

@The-inside-man
Copy link
Contributor Author

looks like Python 2.7, pypy and pypy3 have issues with the newer items.

  • 2.7 assertRaisesRegex not supported
  • pypy assertRaisesRegex not supported
  • pypy3 assertEqual not supported

Looks to have no issue with the isAlive() to is_alive() change across all versions.

@The-inside-man
Copy link
Contributor Author

Will do more research on how to make compatible with older versions of python and come back to this.

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