projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c7fa3
)
Add a test for the new // operator too.
author
Tim Peters
<tim.peters@gmail.com>
Thu, 23 Aug 2001 23:02:57 +0000
(23:02 +0000)
committer
Tim Peters
<tim.peters@gmail.com>
Thu, 23 Aug 2001 23:02:57 +0000
(23:02 +0000)
Lib/test/test_long.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_long.py
b/Lib/test/test_long.py
index 60adb74a626f25cf8beb79be2712813fd529ddfd..3b6081e7d531c59308094ee7cfa5c8180510759e 100644
(file)
--- a/
Lib/test/test_long.py
+++ b/
Lib/test/test_long.py
@@
-300,6
+300,10
@@
def test_auto_overflow():
got = x / y
checkit(x, '/', y)
+ expected = longx // longy
+ got = x // y
+ checkit(x, '//', y)
+
expected = divmod(longx, longy)
got = divmod(longx, longy)
checkit(x, 'divmod', y)