[Python-checkins] CVS: python/dist/src/Lib/test test_long.py,1.8,1.9
Tim Peters
tim_one@users.sourceforge.net
Thu, 23 Aug 2001 16:02:59 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv22400/python/Lib/test
Modified Files:
test_long.py
Log Message:
Add a test for the new // operator too.
Index: test_long.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_long.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** test_long.py 2001/08/23 22:56:21 1.8
--- test_long.py 2001/08/23 23:02:57 1.9
***************
*** 301,304 ****
--- 301,308 ----
checkit(x, '/', y)
+ expected = longx // longy
+ got = x // y
+ checkit(x, '//', y)
+
expected = divmod(longx, longy)
got = divmod(longx, longy)