twisted.test.test_nooldstyle.NewStyleOnly(object) class documentationtwisted.test.test_nooldstyle
(View In Hierarchy)
A base testclass that takes a module and tests if the classes defined in it are old-style.
CAVEATS: This is maybe slightly dumb. It doesn't look inside functions, for classes defined there, or nested classes.
| Method | test_newStyleClassesOnly | Test that self.modulehas no old-style classes in it. |