This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: distutils: Remove assertEquals and assert_ deprecation warnings
Type: behavior Stage: resolved
Components: Distutils, Distutils2, Tests Versions: Python 3.4, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: Gregory.Salvan, alexis, ezio.melotti, jaraco, python-dev, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2013-11-14 17:27 by Gregory.Salvan, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
distutil.patch Gregory.Salvan, 2013-11-14 17:27 review
Messages (8)
msg202863 - (view) Author: Gregory Salvan (Gregory.Salvan) Date: 2013-11-14 17:27
Replace assertEquals by assertEqual and assert_ by assertTrue to remove tests deprecation warning.

It's few, but it's a first step to make contributions.
msg202870 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-14 18:11
See also issue16510.
msg202875 - (view) Author: Gregory Salvan (Gregory.Salvan) Date: 2013-11-14 18:42
Do I suggest the patch to issue16510 and close this one ?
msg202878 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-14 20:29
No. Issue16510 enhances tests while your patch fixes bugs.

LGTM.
msg203020 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-16 10:49
Jason just have fixed assertEquals usage in 3.4.
msg203051 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-16 15:36
New changeset ff471d8526a8 by Jason R. Coombs in branch 'default':
Issue #19586: Update remaining deprecated assertions to their preferred usage.
http://hg.python.org/cpython/rev/ff471d8526a8
msg203052 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2013-11-16 15:37
Thanks Gregory for the report and patch. I was unaware of this ticket when I was correcting the deprecation warnings for distutils, so I've just used your patch as a reference and pushed the remaining fixes as you indicated.
msg203056 - (view) Author: Gregory Salvan (Gregory.Salvan) Date: 2013-11-16 15:58
nice if it helps.
History
Date User Action Args
2022-04-11 14:57:53adminsetgithub: 63785
2013-11-16 15:58:03Gregory.Salvansetmessages: + msg203056
2013-11-16 15:37:26jaracosetstatus: open -> closed
resolution: fixed
messages: + msg203052

stage: commit review -> resolved
2013-11-16 15:36:06python-devsetnosy: + python-dev
messages: + msg203051
2013-11-16 10:49:44serhiy.storchakasetnosy: + jaraco
messages: + msg203020
2013-11-14 20:29:10serhiy.storchakasettype: compile error -> behavior
messages: + msg202878
stage: commit review
2013-11-14 18:42:33Gregory.Salvansetmessages: + msg202875
components: + Tests
2013-11-14 18:11:15serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg202870
2013-11-14 17:32:02ezio.melottisetassignee: ezio.melotti

nosy: + ezio.melotti
2013-11-14 17:29:10vstinnersettitle: Remove assertEquals and assert_ deprecation warnings -> distutils: Remove assertEquals and assert_ deprecation warnings
2013-11-14 17:27:58Gregory.Salvancreate