[pypy-svn] pypy default: Added an XXX

alex_gaynor commits-noreply at bitbucket.org
Tue Jan 18 20:09:09 CET 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r40898:0ff94d393194
Date: 2011-01-18 13:08 -0600
http://bitbucket.org/pypy/pypy/changeset/0ff94d393194/

Log:	Added an XXX

diff --git a/pypy/objspace/std/test/test_newformat.py b/pypy/objspace/std/test/test_newformat.py
--- a/pypy/objspace/std/test/test_newformat.py
+++ b/pypy/objspace/std/test/test_newformat.py
@@ -139,6 +139,8 @@
         expected_warning = [
             ("object.__format__ with a non-empty format string is deprecated", PendingDeprecationWarning),
         ]
+        # XXX: need to change the filter so that PendingDeprecationWarnings are
+        # issued and not ignored
         with warnings.catch_warnings(record=True) as log:
             assert self.s("{0:^10}").format(E("data")) == self.s(" E(data)  ")
             assert log == expected_warning * 1


More information about the Pypy-commit mailing list