From: Rob Sayre Date: Sun, 10 Jul 2011 14:54:19 +0000 (-0700) Subject: Fix wrong exception throwing syntax. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e7e8e4f6c98bc3420b721ea377c71e4dbd6b9d5f;p=pdf.js.git Fix wrong exception throwing syntax. --- diff --git a/test/test.py b/test/test.py index 59c10bd..b61ba81 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()