From e7e8e4f6c98bc3420b721ea377c71e4dbd6b9d5f Mon Sep 17 00:00:00 2001 From: Rob Sayre Date: Sun, 10 Jul 2011 07:54:19 -0700 Subject: [PATCH] Fix wrong exception throwing syntax. --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()