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.
Created on 2013年09月28日 16:23 by xdegaye, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 28008 | merged | andrei.avk, 2021年08月27日 21:16 | |
| Messages (8) | |||
|---|---|---|---|
| msg198529 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2013年09月28日 16:23 | |
After renaming the first test_errors method to test_errors_1 and the second one to test_errors_2: $ /bin/sh -c "cd Lib/ctypes/test; ../../../python runtests.py test_functions.py" ....F................ ====================================================================== FAIL: test_errors_1 (ctypes.test.test_functions.FunctionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "./Lib/ctypes/test/test_functions.py", line 227, in test_errors_1 self.assertRaises(TypeError, f, X()) #cannot convert parameter AssertionError: TypeError not raised by _testfunc_p_p ---------------------------------------------------------------------- Ran 21 tests in 0.007s FAILED (failures=1) |
|||
| msg227985 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年09月30日 19:30 | |
@Xavier can you provide a patch for this issue? |
|||
| msg228060 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2014年10月01日 07:51 | |
This issue has been entered while checking for duplicate test names in issue 16079. |
|||
| msg340115 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2019年04月12日 21:57 | |
Still fails on Python 3.8.0a3+. |
|||
| msg348245 - (view) | Author: Hai Shi (shihai1991) * (Python triager) | Date: 2019年07月21日 14:10 | |
en, in python 3.8.0a3, I got those other error info: $ /home/shihai/workspace/cpython/python test_functions.py ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/home/shihai/workspace/cpython/Lib/hashlib.py", line 244, in <module> globals()[__func_name] = __get_hash(__func_name) File "/home/shihai/workspace/cpython/Lib/hashlib.py", line 113, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type md5 but in master branch, the test case is ok. |
|||
| msg366674 - (view) | Author: Furkan Onder (furkanonder) * | Date: 2020年04月17日 19:04 | |
There are two tests with same name in the same test class (ctypes.test.test_functions test_errors) After merging both and re-run I encounter with this error which looks like it was always there but overwritten by other test (with same name) ....F...........s.s... ====================================================================== FAIL: test_errors (__main__.FunctionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/furkan/cpython/Lib/ctypes/test/test_functions.py", line 219, in test_errors self.assertRaises(TypeError, f, X()) #cannot convert parameter AssertionError: TypeError not raised by _testfunc_p_p ---------------------------------------------------------------------- Ran 22 tests in 0.003s |
|||
| msg401391 - (view) | Author: Łukasz Langa (lukasz.langa) * (Python committer) | Date: 2021年09月08日 15:28 | |
New changeset a5610057615779ca6fc75d9e006d2fae644a94d3 by andrei kulakov in branch 'main': bpo-19113: Remove unused test_errors from ctypes tests (GH-28008) https://github.com/python/cpython/commit/a5610057615779ca6fc75d9e006d2fae644a94d3 |
|||
| msg401392 - (view) | Author: Łukasz Langa (lukasz.langa) * (Python committer) | Date: 2021年09月08日 15:32 | |
Change made in Python 3.11: duplicate test removed. Closing. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:51 | admin | set | github: 63312 |
| 2021年09月08日 15:32:29 | lukasz.langa | set | status: open -> closed versions: + Python 3.11, - Python 2.7, Python 3.7, Python 3.8 messages: + msg401392 resolution: fixed stage: patch review -> resolved |
| 2021年09月08日 15:28:41 | lukasz.langa | set | nosy:
+ lukasz.langa messages: + msg401391 |
| 2021年08月27日 21:16:25 | andrei.avk | set | keywords:
+ patch nosy: + andrei.avk pull_requests: + pull_request26450 stage: needs patch -> patch review |
| 2020年05月03日 00:05:37 | FFY00 | set | nosy:
+ FFY00 |
| 2020年04月17日 19:04:34 | furkanonder | set | nosy:
+ furkanonder messages: + msg366674 |
| 2019年07月21日 14:10:07 | shihai1991 | set | nosy:
+ shihai1991 messages: + msg348245 |
| 2019年04月25日 14:54:02 | xdegaye | set | versions: + Python 3.7 |
| 2019年04月24日 15:25:45 | xdegaye | set | versions: + Python 2.7, Python 3.8, - Python 3.4, Python 3.5 |
| 2019年04月13日 07:58:52 | BreamoreBoy | set | nosy:
- BreamoreBoy |
| 2019年04月12日 21:57:16 | xdegaye | set | messages: + msg340115 |
| 2016年04月24日 20:34:16 | berker.peksag | link | issue26841 superseder |
| 2014年10月01日 07:51:26 | xdegaye | set | messages: + msg228060 |
| 2014年09月30日 19:30:52 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg227985 versions: + Python 3.5 |
| 2013年10月05日 03:13:32 | ezio.melotti | set | nosy:
+ ezio.melotti stage: needs patch |
| 2013年09月28日 16:23:39 | xdegaye | create | |