Milson Munakami wrote:
> if self.reportStatus_:
> self.log.info("=== Test %s completed normally (%d
> sec)", self.name_, duration
The info() call is missing the closing parenthesis
> def cleanup(self, success):
> sys.excepthook = sys.__excepthook__
>
> It gives me errror
>
> File "TestTest.py", line 44
> def cleanup(self, success):
> ^
> SyntaxError: invalid syntax
To find a syntax error it is often a good idea to look into the code that
precedes the line that the compiler complains about.
--
https://mail.python.org/mailman/listinfo/python-list