Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r51876:1b76cb58345b
Date: 2012-01-27 12:35 +0100
http://bitbucket.org/pypy/pypy/changeset/1b76cb58345b/

Log:    kill this test about warnings and conditional expressions. We
        stopped issuing the warning long time ago

diff --git a/pypy/interpreter/test/test_syntax.py 
b/pypy/interpreter/test/test_syntax.py
--- a/pypy/interpreter/test/test_syntax.py
+++ b/pypy/interpreter/test/test_syntax.py
@@ -168,13 +168,6 @@
             exec(s, ns)
             assert ns['x'] == expected
 
-    def test_condexpr_no_warning(self):
-        import warnings
-
-        warnings.simplefilter('error', SyntaxWarning)
-        exec("1 if True else 2")
-        warnings.simplefilter('default', SyntaxWarning)
-
 class AppTestYield:
     def test_bare_yield(self):
         s = "def f():\n    yield"
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to