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.

Author arigo
Recipients Carl.Friedrich.Bolz, arigo
Date 2008-10-30.17:02:53
SpamBayes Score 1.0555623e-10
Marked as misclassified No
Message-id <1225386180.53.0.475585271298.issue4242@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-10-30 17:03:00arigosetrecipients: + arigo, Carl.Friedrich.Bolz
2008-10-30 17:03:00arigosetmessageid: <1225386180.53.0.475585271298.issue4242@psf.upfronthosting.co.za>
2008-10-30 17:02:59arigolinkissue4242 messages
2008-10-30 17:02:58arigocreate