Ticket #5874 enhancement closed fixed
split twisted.trial.unittest into two compilation units, one for basic synchronous features, one for reactor features
|Reported by:||exarkun||Owned by:||exarkun|
|Priority:||normal||Milestone:||Python 3.3 Minimal|
(diff, github, buildbot, log)
Description (last modified by washort) (diff)
To port a module to Python 3, the entire module must be converted to Python 3 syntax, as well as all modules that module imports (transitively).
To ease porting of trial, split twisted.trial.unittest into two modules, one of which contains the immediately needed, easier to port pieces (SynchronousTestCase) and the other of which contains all of the reactor-related functionality (TestCase).
SynchronousTestCase will go into twisted.trial._synctest and TestCase will go into twisted.trial._asynctest. twisted.trial.unittest will import the necessary public names for re-export, but it will not import _asynctest.TestCase on Python 3 until _asynctest and its dependencies are ported.