Update of /cvsroot/python/python/dist/src/Lib/test In directory usw-pr-cvs1:/tmp/cvs-serv11715/Lib/test Modified Files: test_coercion.py Log Message: Use numbers that can be accurately represented on binary machines. I hope this works on all platforms. Index: test_coercion.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_coercion.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** test_coercion.py 2001/01/02 16:30:31 1.1 --- test_coercion.py 2001/01/03 01:52:10 1.2 *************** *** 66,71 **** ! candidates = [ 2, 2.2, 2L, 2+4j, [1], (2,), None, ! MethodNumber(1), CoerceNumber(8)] infix_binops = [ '+', '-', '*', '/', '**', '%' ] --- 66,71 ---- ! candidates = [ 2, 4.0, 2L, 2+0j, [1], (2,), None, ! MethodNumber(1), CoerceNumber(2)] infix_binops = [ '+', '-', '*', '/', '**', '%' ]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4