diff --git a/test/test.py b/test/test.py index 59c10bdff..b61ba816b 100644 --- a/test/test.py +++ b/test/test.py @@ -189,7 +189,7 @@ class BaseBrowserCommand(object): self._fixupMacPath() if not os.path.exists(self.path): - throw("Path to browser '%s' does not exist." % self.path) + raise Exception("Path to browser '%s' does not exist." % self.path) def setup(self): self.tempDir = tempfile.mkdtemp()