aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-09-23 11:39:05 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-09-23 15:10:42 +0530
commitc5a7bb2569ce8757bc271d3b54968a46e6a43244 (patch)
treef35de9a30f3a71531de8af9e6f48342caf31da84 /python/servo/testing_commands.py
parent919bf17e516641697bda2783efb148c3a39223b4 (diff)
downloadservo-c5a7bb2569ce8757bc271d3b54968a46e6a43244.tar.gz
servo-c5a7bb2569ce8757bc271d3b54968a46e6a43244.zip
Don't crash when -p is specified with test-unit
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index a3206b745f3..38248f9aae3 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -208,7 +208,7 @@ class MachCommands(CommandBase):
if not packages:
packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit")))
- packages.remove('stylo')
+ packages.discard('stylo')
args = ["cargo", "test"]
for crate in packages: