PEP8 line length fixes in testing_commands.py

...so that PyLint stops yelling at me
This commit is contained in:
Matthew Rasmus 2014-12-04 16:12:22 -08:00
parent 92a8c7a80c
commit 3d5fa7b6e2

View file

@ -36,7 +36,9 @@ class MachCommands(CommandBase):
for filename in target_contents:
if filename.startswith(prefix + "-"):
filepath = path.join(
self.context.topdir, "components", "servo", "target", filename)
self.context.topdir, "components", "servo",
"target", filename)
if path.isfile(filepath) and os.access(filepath, os.X_OK):
return filepath
@ -106,8 +108,8 @@ class MachCommands(CommandBase):
def cargo_test(component):
return 0 != subprocess.call(
["cargo", "test", "-p", component] + test_name,
env=self.build_env(), cwd=self.servo_crate())
["gdb", "--args", "cargo", "test", "-p", component]
+ test_name, env=self.build_env(), cwd=self.servo_crate())
for component in os.listdir("components"):
if component != "servo":