From c5a7bb2569ce8757bc271d3b54968a46e6a43244 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 23 Sep 2016 11:39:05 +0530 Subject: Don't crash when -p is specified with test-unit --- python/servo/testing_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/servo/testing_commands.py') 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: -- cgit v1.2.3