@@ -51,7 +51,6 @@ def __call__(cls, *args, **kwargs):
5151
5252
5353class Plugin (metaclass = PluginMeta ):
54-
5554 """Base class for nose2 plugins
5655
5756 All nose2 plugins must subclass this class.
@@ -207,7 +206,6 @@ def __call__(self, parser, namespace, values, option_string=None):
207206
208207
209208class Hook :
210-
211209 """A plugin hook
212210
213211 Each plugin method in the :class:`nose2.events.PluginInterface` is
@@ -240,7 +238,6 @@ def append(self, plugin):
240238
241239
242240class PluginInterface :
243-
244241 """Definition of plugin interface.
245242
246243 Instances of this class contain the methods that may be called,
@@ -347,7 +344,6 @@ def __getattr__(self, attr):
347344
348345
349346class Event :
350-
351347 """Base class for all events.
352348
353349 .. attribute :: metadata
@@ -405,7 +401,6 @@ def __getstate__(self):
405401
406402
407403class PluginsLoadedEvent (Event ):
408-
409404 """Event fired after all plugin classes are loaded.
410405
411406 .. attribute :: pluginsLoaded
@@ -422,7 +417,6 @@ def __init__(self, pluginsLoaded, **kw):
422417
423418
424419class RunnerCreatedEvent (Event ):
425-
426420 """Event fired when test runner is created.
427421
428422 .. attribute :: runner
@@ -440,7 +434,6 @@ def __init__(self, runner, **kw):
440434
441435
442436class ResultCreatedEvent (Event ):
443-
444437 """Event fired when test result handler is created.
445438
446439 .. attribute :: result
@@ -458,7 +451,6 @@ def __init__(self, result, **kw):
458451
459452
460453class StartLayerSetupEvent (Event ):
461-
462454 """Event fired before running a layer setup.
463455
464456 .. attribute :: layer
@@ -474,7 +466,6 @@ def __init__(self, layer, **kw):
474466
475467
476468class StopLayerSetupEvent (Event ):
477-
478469 """Event fired after running a layer setup.
479470
480471 .. attribute :: layer
@@ -490,7 +481,6 @@ def __init__(self, layer, **kw):
490481
491482
492483class StartLayerSetupTestEvent (Event ):
493-
494484 """Event fired before test cases setups in layers.
495485
496486 .. attribute :: layer
@@ -511,7 +501,6 @@ def __init__(self, layer, test, **kw):
511501
512502
513503class StopLayerSetupTestEvent (Event ):
514-
515504 """Event fired after test cases setups in layers.
516505
517506 .. attribute :: layer
@@ -532,7 +521,6 @@ def __init__(self, layer, test, **kw):
532521
533522
534523class StartLayerTeardownEvent (Event ):
535-
536524 """Event fired before running a layer teardown.
537525
538526 .. attribute :: layer
@@ -548,7 +536,6 @@ def __init__(self, layer, **kw):
548536
549537
550538class StopLayerTeardownEvent (Event ):
551-
552539 """Event fired after running a layer teardown.
553540
554541 .. attribute :: layer
@@ -564,7 +551,6 @@ def __init__(self, layer, **kw):
564551
565552
566553class StartLayerTeardownTestEvent (Event ):
567-
568554 """Event fired before test cases teardowns in layers.
569555
570556 .. attribute :: layer
@@ -585,7 +571,6 @@ def __init__(self, layer, test, **kw):
585571
586572
587573class StopLayerTeardownTestEvent (Event ):
588-
589574 """Event fired after test cases teardowns in layers.
590575
591576 .. attribute :: layer
@@ -606,7 +591,6 @@ def __init__(self, layer, test, **kw):
606591
607592
608593class StartTestRunEvent (Event ):
609-
610594 """Event fired when test run is about to start.
611595
612596 Test collection is complete before this event fires, but
@@ -657,7 +641,6 @@ def __init__(self, runner, suite, result, startTime, executeTests, **kw):
657641
658642
659643class StopTestRunEvent (Event ):
660-
661644 """Event fired when test run has stopped.
662645
663646 .. attribute :: runner
@@ -689,7 +672,6 @@ def __init__(self, runner, result, stopTime, timeTaken, **kw):
689672
690673
691674class StartTestEvent (Event ):
692-
693675 """Event fired before a test is executed.
694676
695677 .. attribute :: test
@@ -716,7 +698,6 @@ def __init__(self, test, result, startTime, **kw):
716698
717699
718700class StopTestEvent (Event ):
719-
720701 """Event fired after a test is executed.
721702
722703 .. attribute :: test
@@ -743,7 +724,6 @@ def __init__(self, test, result, stopTime, **kw):
743724
744725
745726class TestOutcomeEvent (Event ):
746-
747727 """Event fired when a test completes.
748728
749729 .. attribute :: test
@@ -830,7 +810,6 @@ def __init__(
830810
831811
832812class LoadFromModuleEvent (Event ):
833-
834813 """Event fired when a test module is loaded.
835814
836815 .. attribute :: loader
@@ -874,7 +853,6 @@ def __init__(self, loader, module, suite, **kw):
874853
875854
876855class LoadFromTestCaseEvent (Event ):
877-
878856 """Event fired when tests are loaded from a test case.
879857
880858 .. attribute :: loader
@@ -908,7 +886,6 @@ def __init__(self, loader, testCase, **kw):
908886
909887
910888class LoadFromNamesEvent (Event ):
911-
912889 """Event fired to load tests from test names.
913890
914891 .. attribute :: loader
@@ -951,7 +928,6 @@ def __str__(self):
951928
952929
953930class LoadFromNameEvent (Event ):
954-
955931 """Event fired to load tests from test names.
956932
957933 .. attribute :: loader
@@ -991,7 +967,6 @@ def __init__(self, loader, name, module, **kw):
991967
992968
993969class HandleFileEvent (Event ):
994-
995970 """Event fired when a non-test file is examined.
996971
997972 .. note ::
@@ -1047,7 +1022,6 @@ def __init__(self, loader, name, path, pattern, topLevelDirectory, **kw):
10471022
10481023
10491024class MatchPathEvent (Event ):
1050-
10511025 """Event fired during file matching.
10521026
10531027 Plugins may return ``False`` and set ``handled`` on this event to prevent
@@ -1078,7 +1052,6 @@ def __init__(self, name, path, pattern, **kw):
10781052
10791053
10801054class GetTestCaseNamesEvent (Event ):
1081-
10821055 """Event fired to find test case names in a test case.
10831056
10841057 Plugins may return a list of names and set ``handled`` on this
@@ -1137,7 +1110,6 @@ def __init__(self, loader, testCase, isTestMethod, **kw):
11371110
11381111
11391112class ResultSuccessEvent (Event ):
1140-
11411113 """Event fired at end of test run to determine success.
11421114
11431115 This event fires at the end of the test run and allows
@@ -1167,7 +1139,6 @@ def __init__(self, result, success, **kw):
11671139
11681140
11691141class ResultStopEvent (Event ):
1170-
11711142 """Event fired when a test run is told to stop.
11721143
11731144 Plugins can use this event to prevent other plugins from stopping
@@ -1192,7 +1163,6 @@ def __init__(self, result, shouldStop, **kw):
11921163
11931164
11941165class DescribeTestEvent (Event ):
1195-
11961166 """Event fired to get test description.
11971167
11981168
@@ -1221,7 +1191,6 @@ def __init__(self, test, description=None, errorList=False, **kw):
12211191
12221192
12231193class OutcomeDetailEvent (Event ):
1224-
12251194 """Event fired to acquire additional details about test outcome.
12261195
12271196 .. attribute :: outcomeEvent
@@ -1246,7 +1215,6 @@ def __init__(self, outcomeEvent, **kw):
12461215
12471216
12481217class ReportSummaryEvent (Event ):
1249-
12501218 """Event fired before and after summary report.
12511219
12521220 .. attribute :: stopTestEvent
@@ -1277,7 +1245,6 @@ def __init__(self, stopTestEvent, stream, reportCategories, **kw):
12771245
12781246
12791247class ReportTestEvent (Event ):
1280-
12811248 """Event fired to report a test event.
12821249
12831250 Plugins can respond to this event by producing output for the user.
@@ -1304,7 +1271,6 @@ def __init__(self, testEvent, stream, **kw):
13041271
13051272
13061273class UserInteractionEvent (Event ):
1307-
13081274 """Event fired before and after user interaction.
13091275
13101276 Plugins that capture stdout or otherwise prevent user interaction
@@ -1321,7 +1287,6 @@ def __init__(self, **kw):
13211287
13221288
13231289class CommandLineArgsEvent (Event ):
1324-
13251290 """Event fired after parsing of command line arguments.
13261291
13271292 Plugins can respond to this event by configuring themselves or other plugins
@@ -1347,7 +1312,6 @@ def __init__(self, args, **kw):
13471312
13481313
13491314class CreateTestsEvent (Event ):
1350-
13511315 """Event fired before test loading.
13521316
13531317 Plugins can take over test loading by returning a test suite and setting
0 commit comments