optimizely / python-sdk

Python SDK for Optimizely Feature Experimentation and Optimizely Full Stack (legacy)
https://docs.developers.optimizely.com/experimentation/v4.0.0-full-stack/docs/python-sdk
Apache License 2.0
32 stars 36 forks source link

[MAINTENANCE] Remove Deprecated warnings during build #333

Closed The-inside-man closed 3 years ago

The-inside-man commented 3 years ago

Summary

- assertRaisesRegexp -> assertRaisesRegex
- assertEquals -> assertEqual
- isAlive() -> is_alive()
- Check added to base.py to confirm attribute assertRaisesRegex for backwards compatibility to Python2.7

Test plan

Compatibility test ran through PR