[issue5723] Incomplete json tests
Antoine Pitrou
report at bugs.python.org
Fri May 13 00:47:46 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> With this approach is necessary to exclude the base class from the
> tests, either by listing all the Python/C tests explicitly or doing
> some automatic check to find these base classes.
It just needs a small change then:
class PyTest(TestCase):
...
class CTest(TestCase):
...
class TestSomething:
def test_something(self): ...
class TestPySomething(TestSomething, PyTest): pass
class TestCSomething(TestSomething, CTest): pass
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5723>
_______________________________________
More information about the Python-bugs-list
mailing list