[Python-checkins] CVS: python/dist/src/Lib/test test_descr.py,1.1.2.35,1.1.2.36

Guido van Rossum gvanrossum@users.sourceforge.net
Tue, 31 Jul 2001 09:52:04 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv21464

Modified Files:
      Tag: descr-branch
	test_descr.py 
Log Message:
Rip out the tests for __radd__ on sequences.


Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/Attic/test_descr.py,v
retrieving revision 1.1.2.35
retrieving revision 1.1.2.36
diff -C2 -d -r1.1.2.35 -r1.1.2.36
*** test_descr.py	2001/07/19 16:25:27	1.1.2.35
--- test_descr.py	2001/07/31 16:52:02	1.1.2.36
***************
*** 96,100 ****
      testunop([1,2,3], 3, "len(a)", "__len__")
      testbinop([1,2], 3, [1,2,1,2,1,2], "a*b", "__mul__")
-     testbinop([1], [2], [2,1], "b+a", "__radd__")
      testbinop([1,2], 3, [1,2,1,2,1,2], "b*a", "__rmul__")
      testset2op([1,2], 1, 3, [1,3], "a[b]=c", "__setitem__")
--- 96,99 ----
***************
*** 238,242 ****
      testunop(spamlist([1,2,3]), 3, "len(a)", "__len__")
      testbinop(spamlist([1,2]), 3, spamlist([1,2,1,2,1,2]), "a*b", "__mul__")
-     testbinop(spamlist([1]), spamlist([2]), spamlist([2,1]), "b+a", "__radd__")
      testbinop(spamlist([1,2]), 3, spamlist([1,2,1,2,1,2]), "b*a", "__rmul__")
      testset2op(spamlist([1,2]), 1, 3, spamlist([1,3]), "a[b]=c", "__setitem__")
--- 237,240 ----