Ticket #4182 enhancement new
Tests which require python2.5 syntax are inconsistently skipped.
|Reported by:||glyph||Owned by:|
Description (last modified by glyph) (diff)
The tests in twisted.test.generator_failure_tests are defined in a regular python file, but conditionally imported from a test_ module. The tests in twisted.test.test_defgen, on the other hand, are defined in a giant string. The former form is easier to work with, modulo some packaging issues such as #1696. We should change the tests to be dealt with in a consistent way. I would prefer the way that avoids 'exec' statements.