Message135881
| Author | pitrou |
|---|---|
| Recipients | benjamin.peterson, bob.ippolito, doerwalter, ezio.melotti, fdrake, jowillia, pitrou, rhettinger, xuanji |
| Date | 2011-05-12.22:47:45 |
| SpamBayes Score | 0.0026356345 |
| Marked as misclassified | No |
| Message-id | <1305240462.3548.7.camel@localhost.localdomain> |
| In-reply-to | <1305239736.16.0.136374007773.issue5723@psf.upfronthosting.co.za> |
| Content | |
|---|---|
> 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 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-05-12 22:47:46 | pitrou | set | recipients: + pitrou, fdrake, doerwalter, rhettinger, bob.ippolito, benjamin.peterson, ezio.melotti, jowillia, xuanji |
| 2011-05-12 22:47:45 | pitrou | link | issue5723 messages |
| 2011-05-12 22:47:45 | pitrou | create | |