[New-bugs-announce] [issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

Zachary Ware report at bugs.python.org
Sat Dec 22 02:02:27 CET 2012


New submission from Zachary Ware:

As pointed out by Éric Araujo in msg177908 of issue16694, tests using the idiom presented in PEP 399 are subject to breakage of test discovery.  This issue's goal is to root out and fix all usages of this idiom.

So far, only test_heapq is known to be affected.

As for fixing the issue, each module get its own mixin class, or should a simple class such as:

class TestPyAndCMixin:
    module = None

be added to test.support?

----------
components: Tests
messages: 177913
nosy: eric.araujo, zach.ware
priority: normal
severity: normal
status: open
title: Ensure test discovery doesn't break for modules testing C and Python implementations
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

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


More information about the New-bugs-announce mailing list