test_bisect testresult

cpu-mhz 1603.696
cpu-model AMD Opteron(tm) Processor 242
executable py.py
execution-time 219.121094942
exit-status 0
fspath /home/hpk/pypy-dist/lib-python/2.4.1/test/test_bisect.py
options core
outcome OK
platform linux2
pypy-revision 29280
python-version-info (2, 4, 2, 'final', 0)
startdate Fri Jun 23 20:04:14 2006
testreport-version 1.1
timeout 1444.0
userhost hpk@cen01

stdout

test_backcompatibility (test.test_bisect.TestBisect) ... ok
test_optionalSlicing (test.test_bisect.TestBisect) ... ok
test_precomputed (test.test_bisect.TestBisect) ... ok
test_random (test.test_bisect.TestBisect) ... ok
test_backcompatibility (test.test_bisect.TestInsort) ... ok
test_vsBuiltinSort (test.test_bisect.TestInsort) ... ok

----------------------------------------------------------------------
Ran 6 tests in 72.788s

OK
Trying:
    grades = "FEDCBA"
Expecting nothing
ok
Trying:
    breakpoints = [30, 44, 66, 75, 85]
Expecting nothing
ok
Trying:
    from bisect import bisect
Expecting nothing
ok
Trying:
    def grade(total):
              return grades[bisect(breakpoints, total)]
Expecting nothing
ok
Trying:
    grade(66)
Expecting:
    'C'
ok
Trying:
    map(grade, [33, 99, 77, 44, 12, 88])
Expecting:
    ['E', 'A', 'B', 'D', 'F', 'A']
ok
22 items had no tests:
    test.test_bisect
    test.test_bisect.CmpErr
    test.test_bisect.CmpErr.__cmp__
    test.test_bisect.GetOnly
    test.test_bisect.GetOnly.__getitem__
    test.test_bisect.LenOnly
    test.test_bisect.LenOnly.__len__
    test.test_bisect.TestBisect
    test.test_bisect.TestBisect.test_backcompatibility
    test.test_bisect.TestBisect.test_optionalSlicing
    test.test_bisect.TestBisect.test_precomputed
    test.test_bisect.TestBisect.test_random
    test.test_bisect.TestErrorHandling
    test.test_bisect.TestErrorHandling.test_arg_parsing
    test.test_bisect.TestErrorHandling.test_cmp_err
    test.test_bisect.TestErrorHandling.test_get_only
    test.test_bisect.TestErrorHandling.test_len_only
    test.test_bisect.TestErrorHandling.test_non_sequence
    test.test_bisect.TestInsort
    test.test_bisect.TestInsort.test_backcompatibility
    test.test_bisect.TestInsort.test_vsBuiltinSort
    test.test_bisect.test_main
1 items passed all tests:
   6 tests in test.test_bisect.__test__.libreftest
6 tests in 23 items.
6 passed and 0 failed.
Test passed.
doctest (test.test_bisect) ... 6 tests with zero failures

stderr

Loading grammar /home/hpk/pypy-dist/pypy/interpreter/pyparser/data/Grammar2.5a
faking <type 'module'>
faking <type 'file'>
fake-wrapping interp file <open file '<stdout>', mode 'w' at 0x558e6068>
fake-wrapping interp file <open file '<stderr>', mode 'w' at 0x558e60b0>
fake-wrapping interp file <open file '<stdin>', mode 'r' at 0x558e6020>
faking <type 'posix.stat_result'>
faking <type 'posix.statvfs_result'>