[Python-checkins] python/dist/src/Lib/test test_repr.py,1.18,1.19 (original) (raw)
rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Fri May 21 19:01:21 EDT 2004
- Previous message: [Python-checkins] python/dist/src/Lib repr.py,1.17,1.18
- Next message: [Python-checkins] dental practice,
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvsroot/python/python/dist/src/Lib/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8307/test
Modified Files: test_repr.py Log Message:
- teach repr.repr() about collections.deque()
- rename a variable for clarity
Index: test_repr.py
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_repr.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** test_repr.py 21 May 2004 10:00:15 -0000 1.18 --- test_repr.py 21 May 2004 23:01:18 -0000 1.19
*** 36,39 **** --- 36,40 ---- def test_container(self): from array import array
from collections import deque eq = self.assertEquals
*** 66,69 **** --- 67,73 ---- eq(r(frozenset([1, 2, 3, 4, 5, 6, 7])), "frozenset([1, 2, 3, 4, 5, 6, ...])")
# collections.deque after 6
eq(r(deque([1, 2, 3, 4, 5, 6, 7])), "deque([1, 2, 3, 4, 5, 6, ...])")
# Dictionaries give up after 4. eq(r({}), "{}")
- Previous message: [Python-checkins] python/dist/src/Lib repr.py,1.17,1.18
- Next message: [Python-checkins] dental practice,
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]