diff options
author | Fred Drake <fdrake@acm.org> | 2001-08-09 20:23:08 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-08-09 20:23:08 +0000 |
commit | d8f2b4864f2bbfb6ad94f890af47ded21ed099eb (patch) | |
tree | 439c90b8ae3102ba60cf054975f38cb43634f42f /Lib/test/test_operator.py | |
parent | f8e1a26874c8195468c074a768d84312d7a68556 (diff) | |
download | cpython-d8f2b4864f2bbfb6ad94f890af47ded21ed099eb.tar.gz |
Added tests for operator.floordiv() and operator.truediv().
Diffstat (limited to 'Lib/test/test_operator.py')
-rw-r--r-- | Lib/test/test_operator.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_operator.py b/Lib/test/test_operator.py index b75c5ba78f..92efaa203d 100644 --- a/Lib/test/test_operator.py +++ b/Lib/test/test_operator.py @@ -31,6 +31,8 @@ if a != [0, 1, 8, 9]: a = range(10) test('div', 5, 2, 2) +test('floordiv', 5, 2, 2) +test('truediv', 5, 2.5, 2) test('getitem', a, 2, 2) test('getslice', a, [4, 5], 4, 6) test('indexOf', [4, 3, 2, 1], 1, 3) |