diff options
Diffstat (limited to 'Lib/test/test___future__.py')
-rw-r--r-- | Lib/test/test___future__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test___future__.py b/Lib/test/test___future__.py index ef81788..f41b879 100644 --- a/Lib/test/test___future__.py +++ b/Lib/test/test___future__.py @@ -53,9 +53,12 @@ class FutureTest(unittest.TestCase): a(hasattr(value, "compiler_flag"), "feature is missing a .compiler_flag attr") + # Make sure the compile accepts the flag. + compile("", "<test>", "exec", value.compiler_flag) a(isinstance(getattr(value, "compiler_flag"), int), ".compiler_flag isn't int") + def test_main(): support.run_unittest(FutureTest) |