[PyCrust-cvs] PyCrust/tests test_introspect.py,1.22,1.23
Brought to you by:
pobrien
|
From: <po...@us...> - 2003-03-21 05:19:48
|
Update of /cvsroot/pycrust/PyCrust/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv4119
Modified Files:
test_introspect.py
Log Message:
Updated to reflect changes in introspect.py.
Index: test_introspect.py
===================================================================
RCS file: /cvsroot/pycrust/PyCrust/tests/test_introspect.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** test_introspect.py 13 Nov 2002 17:07:43 -0000 1.22
--- test_introspect.py 21 Mar 2003 05:19:45 -0000 1.23
***************
*** 44,48 ****
('.', '', '.'),
('.', None, '.'),
! ('.', '.', ''),
('.', '(', '.'),
--- 44,48 ----
('.', '', '.'),
('.', None, '.'),
! ('.', '.', '.'),
('.', '(', '.'),
***************
*** 50,54 ****
('(', None, '('),
('(', '.', '('),
! ('(', '(', ''),
('spam', '', 'spam'),
--- 50,54 ----
('(', None, '('),
('(', '.', '('),
! ('(', '(', '('),
('spam', '', 'spam'),
***************
*** 59,63 ****
('spam.', '', 'spam.'),
('spam.', None, 'spam.'),
! ('spam.', '.', 'spam'),
('spam.', '(', 'spam.'),
--- 59,63 ----
('spam.', '', 'spam.'),
('spam.', None, 'spam.'),
! ('spam.', '.', 'spam.'),
('spam.', '(', 'spam.'),
***************
*** 65,80 ****
('spam(', None, 'spam('),
('spam(', '.', 'spam('),
! ('spam(', '(', 'spam'),
! ('spam.eggs', '.', 'spam'),
! ('spam.eggs.', '.', 'spam.eggs'),
! ('spam.eggs(', '(', 'spam.eggs'),
('spam.eggs.', '(', 'spam.eggs.'),
! ('spam.eggs(', '.', 'spam'),
! ('x = spam.', '.', 'x = spam'),
! ('x = spam.eggs', '.', 'x = spam'),
! ('x = spam.eggs.', '.', 'x = spam.eggs'),
! ('x = spam.eggs(', '(', 'x = spam.eggs'),
)
for input, terminator, output in values:
--- 65,80 ----
('spam(', None, 'spam('),
('spam(', '.', 'spam('),
! ('spam(', '(', 'spam('),
! ('spam.eggs', '.', 'spam.'),
! ('spam.eggs.', '.', 'spam.eggs.'),
! ('spam.eggs(', '(', 'spam.eggs('),
('spam.eggs.', '(', 'spam.eggs.'),
! ('spam.eggs(', '.', 'spam.'),
! ('x = spam.', '.', 'x = spam.'),
! ('x = spam.eggs', '.', 'x = spam.'),
! ('x = spam.eggs.', '.', 'x = spam.eggs.'),
! ('x = spam.eggs(', '(', 'x = spam.eggs('),
)
for input, terminator, output in values:
***************
*** 112,116 ****
('spam', '', 'spam'),
('spam', None, 'spam'),
! ('spam', '.', 'spam'),
('spam', '(', 'spam'),
--- 112,116 ----
('spam', '', 'spam'),
('spam', None, 'spam'),
! ('spam', '.', ''),
('spam', '(', 'spam'),
***************
*** 143,167 ****
('spam_', '', 'spam_'),
('spam_', None, 'spam_'),
! ('spam_', '.', 'spam_'),
('spam_', '(', 'spam_'),
('_spam', '', '_spam'),
('_spam', None, '_spam'),
! ('_spam', '.', '_spam'),
('_spam', '(', '_spam'),
('spam_eggs', '', 'spam_eggs'),
('spam_eggs', None, 'spam_eggs'),
! ('spam_eggs', '.', 'spam_eggs'),
('spam_eggs', '(', 'spam_eggs'),
('spam123', '', 'spam123'),
('spam123', None, 'spam123'),
! ('spam123', '.', 'spam123'),
('spam123', '(', 'spam123'),
('spam_123', '', 'spam_123'),
('spam_123', None, 'spam_123'),
! ('spam_123', '.', 'spam_123'),
('spam_123', '(', 'spam_123'),
)
--- 143,167 ----
('spam_', '', 'spam_'),
('spam_', None, 'spam_'),
! ('spam_', '.', ''),
('spam_', '(', 'spam_'),
('_spam', '', '_spam'),
('_spam', None, '_spam'),
! ('_spam', '.', ''),
('_spam', '(', '_spam'),
('spam_eggs', '', 'spam_eggs'),
('spam_eggs', None, 'spam_eggs'),
! ('spam_eggs', '.', ''),
('spam_eggs', '(', 'spam_eggs'),
('spam123', '', 'spam123'),
('spam123', None, 'spam123'),
! ('spam123', '.', ''),
('spam123', '(', 'spam123'),
('spam_123', '', 'spam_123'),
('spam_123', None, 'spam_123'),
! ('spam_123', '.', ''),
('spam_123', '(', 'spam_123'),
)
***************
*** 723,727 ****
self.items = (
'None.',
! '123.',
'"".',
'[].',
--- 723,727 ----
self.items = (
'None.',
! '123 .',
'"".',
'[].',
|