#7092 - Silence more py3k deprecation warnings, using test_support.check_py3k_warnings() helper.
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
index 2935a0c..2ee9d2a 100644
--- a/Lib/test/test_ast.py
+++ b/Lib/test/test_ast.py
@@ -302,7 +302,9 @@
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__':