Skip to content

Commit 53e4ea1

Browse files
committed
Put back type_hints for python after 3.7
1 parent 33ff470 commit 53e4ea1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/py/RunClientServer.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,8 @@ def main():
285285

286286
generated_dirs = []
287287
for gp_dir in options.genpydirs.split(','):
288-
if gp_dir == 'type_hints':
289-
# Skip type hints tests -> See THRIFT-5885 (it might be related)
290-
print('Skipping \'type_hints\' tests')
288+
if gp_dir == 'type_hints' and (sys.version_info < (3,7)):
289+
print('Skipping \'type_hints\' test since python 3.7 or later is required')
291290
continue
292291
generated_dirs.append('gen-py-%s' % (gp_dir))
293292

0 commit comments

Comments
 (0)