summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-06-11 20:52:59 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-06-11 20:52:59 (GMT)
commit06524b61d05c604543e6d3603dee11425ccff637 (patch)
treeed8bb651216df9557611d78b8280476b71c748f5 /Lib/test/test_socket.py
parent896c1ea15e9ec67fd1b33998ba8daaf17528ba31 (diff)
downloadcpython-06524b61d05c604543e6d3603dee11425ccff637.zip
cpython-06524b61d05c604543e6d3603dee11425ccff637.tar.gz
cpython-06524b61d05c604543e6d3603dee11425ccff637.tar.bz2
compare_generic_iter(): Fixed the failure of test_wsgiref's testFileWrapper
when running with -O. test_simple_validation_error still fails under -O. That appears to be because wsgiref's validate.py uses `assert` statements all over the place to check arguments for sanity. That should all be changed (it's not a logical error in the software if a user passes bogus arguments, so this isn't a reasonable use for `assert` -- checking external preconditions should generally raise ValueError or TypeError instead, as appropriate).
Diffstat (limited to 'Lib/test/test_socket.py')
0 files changed, 0 insertions, 0 deletions