Issue 36713: duplicate method definition in Lib/ctypes/test/test_unicode.py (original) (raw)

Issue36713

Created on 2019-04-24 15:19 by xdegaye, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13525 merged mangrisano,2019-05-23 14:23
Messages (7)
msg340782 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2019-04-24 15:19
As reported in issue 16079, the following method is a duplicate: Lib/ctypes/test/test_unicode.py:110 StringTestCase.test_ascii_replace
msg343291 - (view) Author: Michele Angrisano (mangrisano) * Date: 2019-05-23 12:30
That method was already removed in cf44883.
msg343292 - (view) Author: Michele Angrisano (mangrisano) * Date: 2019-05-23 12:42
The proper link is this: cf448832ebca7ed34809168660fa96c3c61f8abb. Sorry.
msg343294 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2019-05-23 13:02
The duplicate method is gone from 3.5+, but it is still present on 2.7: Lib/ctypes/test/test_unicode.py:96 Lib/ctypes/test/test_unicode.py:110 The one at line 96 should be renamed "test_ascii_strict". Michele, do you want to work on a PR to fix it?
msg343295 - (view) Author: Michele Angrisano (mangrisano) * Date: 2019-05-23 13:13
I'm on it.
msg343300 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2019-05-23 14:42
New changeset 25d8404c358f3b1cc8321cdc74049d45dcb8d014 by Ezio Melotti (Michele Angrisano) in branch '2.7': bpo-36713: Rename duplicated method in test_unicode. (#13525) https://github.com/python/cpython/commit/25d8404c358f3b1cc8321cdc74049d45dcb8d014
msg343301 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2019-05-23 14:45
Fixed, thanks for the PR!
History
Date User Action Args
2022-04-11 14:59:14 admin set github: 80894
2019-05-23 14:45:06 ezio.melotti set status: open -> closedmessages: + assignee: ezio.melottiresolution: fixedstage: patch review -> resolved
2019-05-23 14:42:54 ezio.melotti set messages: +
2019-05-23 14:23:22 mangrisano set keywords: + patchstage: needs patch -> patch reviewpull_requests: + <pull%5Frequest13440>
2019-05-23 13:13:24 mangrisano set messages: +
2019-05-23 13:02:25 ezio.melotti set nosy: + ezio.melottimessages: +
2019-05-23 12:42:28 mangrisano set messages: +
2019-05-23 12:30:44 mangrisano set nosy: + mangrisanomessages: +
2019-05-15 11:16:07 BTaskaya set title: uplicate method definition in Lib/ctypes/test/test_unicode.py -> duplicate method definition in Lib/ctypes/test/test_unicode.py
2019-04-24 15:19:07 xdegaye create