Closed Bug 899568 Opened 11 years ago Closed 11 years ago

Can't run mach mochitest-plain: 'TypeError: __init__() takes at most 2 arguments (3 given)'

Categories

(Firefox Build System :: Mach Core, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 898725

People

(Reporter: joe, Unassigned)

Details

$ mach mochitest-plain
Error running mach:

    ['mochitest-plain']

The error occurred in the implementation of the invoked mach command.

This should never occur and is likely a bug in the implementation of that
command. Consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

TypeError: __init__() takes at most 2 arguments (3 given)

  File "/src/mozilla-central/testing/mochitest/mach_commands.py", line 268, in run_mochitest_plain
    return self.run_mochitest(test_file, 'plain', **kwargs)
  File "/src/mozilla-central/testing/mochitest/mach_commands.py", line 299, in run_mochitest
    **kwargs)
  File "/src/mozilla-central/testing/mochitest/mach_commands.py", line 111, in run_mochitest_test
    opts = mochitest.MochitestOptions(automation, tests_dir)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.