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] tests: assertEquals is a deprecated alias to assertEqual #36594

Closed

Conversation

@Julien00859
Copy link
Member

commented Sep 10, 2019

Task: 2003936

@robodoo robodoo added the seen 🙂 label Sep 10, 2019

@C3POdoo C3POdoo added the RD label Sep 10, 2019

@robodoo robodoo added the CI 🤖 label Sep 10, 2019

@Julien00859 Julien00859 changed the title [FIX] tests: assertEquals is a depreciated alias to assertEqual [FIX] tests: assertEquals is a deprecated alias to assertEqual Sep 10, 2019

[FIX] tests: replace deprecated assert aliases
PEP-594 is deprecating a bunch of modules/functions, as part of the
related cleanup, we are also dealing with long-been deprecated
functions.

* `assert_` -> `assertTrue`
* `assertEquals` -> `assertEqual`
* `assertNotEquals` -> `assertNotEqual`
* `assertAlmostEquals` -> `assertAlmostEqual`
* `assertRaisesRegexp` -> `assertRaisesRegex`

Task: 2003936

@Julien00859 Julien00859 force-pushed the odoo-dev:master-pep594-assertEquals-juc branch from 7bb7594 to 84883f8 Sep 11, 2019

@robodoo robodoo added CI 🤖 and removed CI 🤖 labels Sep 11, 2019

@Julien00859 Julien00859 deleted the odoo-dev:master-pep594-assertEquals-juc branch Sep 13, 2019

@robodoo robodoo added closed 💔 and removed CI 🤖 labels Sep 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.