diff options
author | Vincent Driessen <vincent@datafox.nl> | 2010-07-27 10:16:45 +0200 |
---|---|---|
committer | Vincent Driessen <vincent@datafox.nl> | 2010-07-27 10:16:45 +0200 |
commit | 04038f78bf2f112203a22dce60f1bc7edfc48fcf (patch) | |
tree | bed39a319975765a208cbf6eeaafd64875df2f68 | |
parent | 3cc6c610bdd0b5a630215d691dd50a7fc7e9e017 (diff) | |
download | nose-machineout-04038f78bf2f112203a22dce60f1bc7edfc48fcf.tar.bz2 nose-machineout-04038f78bf2f112203a22dce60f1bc7edfc48fcf.tar.xz nose-machineout-04038f78bf2f112203a22dce60f1bc7edfc48fcf.zip |
Remove add_options method, since the variable it stores isn't used anywhere.
-rw-r--r-- | machineout.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/machineout.py b/machineout.py index 9ba75be..57ecb22 100644 --- a/machineout.py +++ b/machineout.py | |||
@@ -31,12 +31,6 @@ class NoseMachineReadableOutput(Plugin): | |||
31 | super(NoseMachineReadableOutput, self).__init__() | 31 | super(NoseMachineReadableOutput, self).__init__() |
32 | self.basepath = os.getcwd() | 32 | self.basepath = os.getcwd() |
33 | 33 | ||
34 | def add_options(self, parser, env=None): | ||
35 | super(NoseMachineReadableOutput, self).add_options(parser, env) | ||
36 | parser.add_option("--machine-output", action="store_true", | ||
37 | dest="machine_output", default=False, | ||
38 | help="Reports test results in parsable format.") | ||
39 | |||
40 | def addError(self, test, err): | 34 | def addError(self, test, err): |
41 | self.add_formatted('error', err) | 35 | self.add_formatted('error', err) |
42 | 36 | ||