mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1638978 - Convert mach puppeteer-test to Python 3, r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D77443
This commit is contained in:
parent
a557087998
commit
9c097cff23
1
mach
1
mach
@ -30,7 +30,6 @@ py2commands="
|
||||
mozharness
|
||||
pastebin
|
||||
prettier-format
|
||||
puppeteer-test
|
||||
python
|
||||
python-test
|
||||
raptor
|
||||
|
@ -161,6 +161,7 @@ def npm(*args, **kwargs):
|
||||
args=list(args),
|
||||
cwd=kwargs.get("cwd"),
|
||||
env=env,
|
||||
universal_newlines=True,
|
||||
**proc_kwargs)
|
||||
if not kwargs.get("wait", True):
|
||||
return p
|
||||
@ -205,7 +206,6 @@ class MochaOutputHandler(object):
|
||||
return self.proc and self.proc.pid
|
||||
|
||||
def __call__(self, line):
|
||||
line = line.decode("utf-8", "replace")
|
||||
line_text = self.control_re.subn("", line)[0]
|
||||
m = self.test_name_re.match(line_text)
|
||||
if m:
|
||||
|
Loading…
Reference in New Issue
Block a user