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: Add test cases for builtins
Type: Stage:
Components: Tests Versions: Python 3.1, Python 2.7
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: mark.dickinson Nosy List: gnofi, mark.dickinson
Priority: normal Keywords: patch

Created on 2010-05-25 01:47 by gnofi, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
builtins.trunk.patch gnofi, 2010-05-25 01:47 2.x trunk patch
builtins.v3.patch gnofi, 2010-05-25 01:47 py3k branch patch
Messages (3)
msg106410 - (view) Author: Gregory Nofi (gnofi) Date: 2010-05-25 01:47
I'm attaching 2 patches with additional test cases for these built-in functions. They are mostly negative tests.

* abs
* callable: trunk only
* len
* long: trunk only
* range: copied some py3k range tests into trunk
* reduce: trunk only
* vars

I'm currently helping port IronPython tests into CPython. This is part of that series.
msg106418 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2010-05-25 08:22
Thanks for these;  I'll commit them later.

Aren't the extra range tests that you added already in trunk?
msg106466 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2010-05-25 19:07
Applied patches (minus the duplicate trunk tests for range, and minus some trailing whitespace) in r81525 (trunk) and r81526 (py3k).  Thanks!
History
Date User Action Args
2022-04-11 14:57:01adminsetgithub: 53062
2010-05-25 19:07:22mark.dickinsonsetstatus: open -> closed
resolution: accepted
messages: + msg106466
2010-05-25 08:22:14mark.dickinsonsetassignee: mark.dickinson

messages: + msg106418
nosy: + mark.dickinson
2010-05-25 01:47:36gnofisetfiles: + builtins.v3.patch
2010-05-25 01:47:10gnoficreate