From 0e984e1442e735a6a3cee5170bead492b231d620 Mon Sep 17 00:00:00 2001 From: oscure76 Date: Sat, 14 Apr 2018 16:24:41 -0700 Subject: fix Python 3.6 variable type annotations #3053 --- test/helper_tools/typehints_for_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/helper_tools') diff --git a/test/helper_tools/typehints_for_options.py b/test/helper_tools/typehints_for_options.py index 8c7d006c..06e958f9 100644 --- a/test/helper_tools/typehints_for_options.py +++ b/test/helper_tools/typehints_for_options.py @@ -9,7 +9,7 @@ def print_typehints(opts): for name, option in sorted(opts.items()): print( # For Python 3.6, we can just use "{}: {}". - "{} = None # type: {}".format( + "{}: {} = None".format( name, { int: "int", -- cgit v1.2.3