commit | 350fe7531feecf7df5208fa19d25730c6ce0a30d | [log] [tgz] |
---|---|---|
author | James E. King, III <jking@apache.org> | Wed Oct 25 09:57:18 2017 -0400 |
committer | James E. King, III <jking@apache.org> | Thu Oct 26 11:37:02 2017 -0400 |
tree | 89021ac90d92fbcc07ef41f118fc29b7ce80b4a4 | |
parent | 254e86b0103be51c6af9cc50220ee8c144234239 [diff] [blame] |
THRIFT-4370: build generated code before running static code analysis; fix E722 flake8 issues identified in python code This closes #1399
diff --git a/test/features/string_limit.py b/test/features/string_limit.py index 14f57d0..b8991d6 100644 --- a/test/features/string_limit.py +++ b/test/features/string_limit.py
@@ -51,7 +51,7 @@ print('[OK]: just limit') try: test_string(proto, 'a' * (args.limit + 1)) - except: + except Exception: print('[OK]: limit + 1') else: print('[ERROR]: limit + 1')