diff options
author | maheshgudi | 2016-09-16 23:47:05 +0530 |
---|---|---|
committer | maheshgudi | 2016-09-16 23:47:05 +0530 |
commit | 3bd95ba800d195e531204d6f2245601486af6e2b (patch) | |
tree | 397a31fb484ad2f192ba6a941fa9dd3c442e4efd /yaksh/python_assertion_evaluator.py | |
parent | 2a2bd1674f1373fb684a1c36e0c48512bc632b86 (diff) | |
download | online_test-3bd95ba800d195e531204d6f2245601486af6e2b.tar.gz online_test-3bd95ba800d195e531204d6f2245601486af6e2b.tar.bz2 online_test-3bd95ba800d195e531204d6f2245601486af6e2b.zip |
added docstrings for testcases, removed timeout exception from python evaluator
Diffstat (limited to 'yaksh/python_assertion_evaluator.py')
-rw-r--r-- | yaksh/python_assertion_evaluator.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/yaksh/python_assertion_evaluator.py b/yaksh/python_assertion_evaluator.py index b9f0a55..1b66fd2 100644 --- a/yaksh/python_assertion_evaluator.py +++ b/yaksh/python_assertion_evaluator.py @@ -47,8 +47,6 @@ class PythonAssertionEvaluator(CodeEvaluator): fname, lineno, func, text = info[-1] text = str(test_case).splitlines()[lineno-1] err = "{0} {1} in: {2}".format(type.__name__, str(value), text) - except TimeoutException: - raise except Exception: raise # Exception will be caught in CodeEvaluator. else: |