Fix a Python 3 warning

```
/home/simon/projects/servo/python/servo/testing_commands.py:301:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if err is not 0:
```
This commit is contained in:
Simon Sapin 2020-01-02 16:44:17 +01:00
parent 56895198f4
commit 895cf695c4

View file

@ -298,7 +298,7 @@ class MachCommands(CommandBase):
args += ["--", "--nocapture"]
err = self.run_cargo_build_like_command("bench" if bench else "test", args, env=env, **kwargs)
if err is not 0:
if err:
return err
@Command('test-content',