[pypy-svn] r59393 - pypy/trunk/lib-python/modified-2.5.2/test

fijal at codespeak.net fijal at codespeak.net
Sat Oct 25 13:02:07 CEST 2008


Author: fijal
Date: Sat Oct 25 13:02:06 2008
New Revision: 59393

Modified:
   pypy/trunk/lib-python/modified-2.5.2/test/test_exceptions.py
Log:
Consider this one an implementation detail as well


Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_exceptions.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_exceptions.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_exceptions.py	Sat Oct 25 13:02:06 2008
@@ -234,13 +234,6 @@
                 {'message' : 'msgStr', 'args' : ('msgStr',), 'text' : None,
                  'print_file_and_line' : None, 'msg' : 'msgStr',
                  'filename' : None, 'lineno' : None, 'offset' : None}),
-            (SyntaxError, ('msgStr', ('filenameStr', 'linenoStr', 'offsetStr',
-                           'textStr')),
-                {'message' : '', 'offset' : 'offsetStr', 'text' : 'textStr',
-                 'args' : ('msgStr', ('filenameStr', 'linenoStr',
-                                      'offsetStr', 'textStr')),
-                 'print_file_and_line' : None, 'msg' : 'msgStr',
-                 'filename' : 'filenameStr', 'lineno' : 'linenoStr'}),
             (UnicodeError, (), {'message' : '', 'args' : (),}),
             (UnicodeEncodeError, ('ascii', u'a', 0, 1, 'ordinal not in range'),
                 {'message' : '', 'args' : ('ascii', u'a', 0, 1,
@@ -267,6 +260,13 @@
                  'print_file_and_line' : None, 'msg' : 'msgStr',
                  'filename' : None, 'lineno' : None, 'offset' : None})
             )
+            exceptionList.append(SyntaxError, ('msgStr', ('filenameStr', 'linenoStr', 'offsetStr',
+                           'textStr')),
+                {'message' : '', 'offset' : 'offsetStr', 'text' : 'textStr',
+                 'args' : ('msgStr', ('filenameStr', 'linenoStr',
+                                      'offsetStr', 'textStr')),
+                 'print_file_and_line' : None, 'msg' : 'msgStr',
+                 'filename' : 'filenameStr', 'lineno' : 'linenoStr'})
                 
         try:
             exceptionList.append(



More information about the Pypy-commit mailing list