Skip to content

Commit 20dd039

Browse files
committed
Remove enum tests for old python versions
- Getting `raise TApplicationException(TApplicationException.MISSING_RESULT, "testEnum failed: unknown result"` error - PR#2825 state it is a breaking change, not sure why and for what version of Python
1 parent 638d645 commit 20dd039

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/py/RunClientServer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,10 @@ def main():
278278
generated_dirs = []
279279
for gp_dir in options.genpydirs.split(','):
280280
if gp_dir == 'type_hints' and (sys.version_info < (3,7)):
281-
print('Skipping \'type_hints\' test since python 3.6 or later is required')
281+
print('Skipping \'type_hints\' test since python 3.7 or later is required')
282+
continue
283+
if gp_dir == 'enum' and (sys.version_info < (3,7)):
284+
print('Skipping \'enum\' test since python 3.7 or later is required')
282285
continue
283286
generated_dirs.append('gen-py-%s' % (gp_dir))
284287

0 commit comments

Comments
 (0)