Open Bug 1427703 Opened 7 years ago Updated 2 years ago

TypeError: run_python_tests() got an unexpected keyword argument 'log'


(Testing :: Python Test, defect)



(Not tracked)


(Reporter: Dexter, Unassigned)


Running the following command:

> ./mach test toolkit/components/telemetry

Breaks after running the first test suite (even though all the tests pass), with the following error trace:

> TEST-INFO | checking window state
> Browser Chrome Test Summary
>         Passed: 746
>         Failed: 0
>         Todo: 0
>         Mode: e10s
> *** End BrowserChrome Test Results ***
> Buffered messages finished
> SUITE-END | took 14s
> Error running mach:
>     ['test', 'toolkit/components/telemetry/tests/']
> The error occurred in code that was called by the mach command. This is either
> a bug in the called code itself or in the way that mach is calling it.
> You should 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: run_python_tests() got an unexpected keyword argument 'log'
>   File "e:\mozilla-unified\testing/", line 161, in test
>     argv=extra_args, test_objects=tests, **kwargs)
>   File "e:\mozilla-unified\python/mach\mach\", line 129, in dispatch
>     return self._run_command_handler(handler, context=context, **kwargs)
>   File "e:\mozilla-unified\python/mach\mach\", line 90, in _run_command_handler
>     result = fn(**kwargs)
>   File "e:\mozilla-unified\python/", line 76, in python_test
>     return self.run_python_tests(*args, **kwargs)

Could this be related to bug 1421799?
Mh, looks like it's not, that bug was backed out.
Component: General → Python Test
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.