summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_ast.py')
-rw-r--r--Lib/test/test_ast.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
index 1536690..2122f61 100644
--- a/Lib/test/test_ast.py
+++ b/Lib/test/test_ast.py
@@ -272,7 +272,9 @@ class ASTHelpers_Test(unittest.TestCase):
self.assertRaises(ValueError, ast.literal_eval, 'foo()')
def test_main():
- test_support.run_unittest(AST_Tests, ASTHelpers_Test)
+ with test_support._check_py3k_warnings(("backquote not supported",
+ SyntaxWarning)):
+ test_support.run_unittest(AST_Tests, ASTHelpers_Test)
def main():
if __name__ != '__main__':