summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-04-15 09:10:43 (GMT)
committerThomas Wouters <thomas@python.org>2006-04-15 09:10:43 (GMT)
commit34729030a741bcbc469ce0e796182f85405a9b3d (patch)
tree933e302b5f7aa87b55c1b35b7006a3e2948b9e7c /Lib/test/output
parent8690c4ed3fa1f1889459249c7e50e11c2052b340 (diff)
downloadcpython-34729030a741bcbc469ce0e796182f85405a9b3d.zip
cpython-34729030a741bcbc469ce0e796182f85405a9b3d.tar.gz
cpython-34729030a741bcbc469ce0e796182f85405a9b3d.tar.bz2
Fix the superficial augmented-assignment tests to deal with true division.
Add (equally superficial) >>=/<<= test in the process. Relies on floats that should be extremely close to the int '6' printing as '6.0', but I believe that's a valid assumption ;P
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_augassign11
1 files changed, 7 insertions, 4 deletions
diff --git a/Lib/test/output/test_augassign b/Lib/test/output/test_augassign
index af840f8..b66b7e5 100644
--- a/Lib/test/output/test_augassign
+++ b/Lib/test/output/test_augassign
@@ -1,6 +1,9 @@
test_augassign
+6.0
6
-[6]
+[6.0]
+6
+6.0
6
[1, 2, 3, 4, 1, 2, 3, 4]
[1, 2, 1, 2, 3]
@@ -22,9 +25,9 @@ __isub__ called
__mul__ called
__rmul__ called
__imul__ called
-__div__ called
-__rdiv__ called
-__idiv__ called
+__truediv__ called
+__rtruediv__ called
+__itruediv__ called
__floordiv__ called
__rfloordiv__ called
__ifloordiv__ called