[Python-checkins] CVS: python/dist/src/Lib/test test_types.py,1.16,1.17

Moshe Zadka python-dev@python.org
Thu, 30 Nov 2000 11:30:23 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv5381/Lib/test

Modified Files:
	test_types.py 
Log Message:
Backing out my changes. 
Improved version coming soon to a Source Forge near you!


Index: test_types.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_types.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** test_types.py	2000/11/30 12:31:03	1.16
--- test_types.py	2000/11/30 19:30:21	1.17
***************
*** 266,273 ****
  if len(d['key']) <> 2:
      raise TestFailed, 'present {} setdefault, w/ 2nd arg'
- if d.keys()[0] != d.firstkey():
-     raise TestFailed, 'first key is not first in keys'
- if d.values()[0] != d.firstvalue():
-     raise TestFailed, 'first value is not first in values'
- if d.items()[0] != d.firstitem():
-     raise TestFailed, 'first item is not first in items'
--- 266,267 ----