[New-bugs-announce] [issue4242] Classify language vs. impl-detail tests, step 1

Armin Rigo report at bugs.python.org
Thu Oct 30 18:03:00 CET 2008


New submission from Armin Rigo <arigo at users.sourceforge.net>:

This patch contains a first step towards classifying CPython tests into
language tests and implementation-details tests.  The patch is against
the 2.7 trunk's test_descr.py.  It is derived from a similar patch that
we wrote for the 2.5's test_descr.py in order to make it pass on PyPy.

The main new feature introduced here is a couple of helpers in
test_support - see comments and docstrings in the patch.  The main ones
are "check_impl_detail", which is a flag which is False on non-CPython
hosts; and "impl_detail", a decorator to skip whole functions based on
the "check_impl_detail" flag.

If this patch is accepted, then we plan to port many more of PyPy's
patches for core tests, as a step towards helping non-CPython
implementations to obtain a good test suite.

----------
components: Tests
files: test-impl-details.diff
keywords: patch, patch
messages: 75373
nosy: arigo, cfbolz
severity: normal
status: open
title: Classify language vs. impl-detail tests, step 1
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file11910/test-impl-details.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4242>
_______________________________________


More information about the New-bugs-announce mailing list