#2 Failures in gmpy_test_08_cvr.py

closed-fixed
nobody
None
5
2001-09-03
2001-05-16
No

System: Linux, Python 2.1b2, GMP 3.1.1, GMPY 0.9

Running gmpy_test_08_cvr.py reports 28 failures:

Unit tests for gmpy 0.9 pre-alpha (extra cover)
running on Python 2.1b2 (#3, Mar 28 2001, 16:53:02)
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)]

Testing gmpy 0.9.0b (GMP 3.1.1) with default
caching(20, 20, -2..11)
*****************************************************************
Failure in example: _g.version(23)
from line #1 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 0
arguments; 1 given
Got: TypeError: function takes exactly 0 arguments (1
given)
*****************************************************************
Failure in example: _g.gmp_version(23)
from line #5 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 0
arguments; 1 given
Got: TypeError: function takes exactly 0 arguments (1
given)
*****************************************************************
Failure in example: _g.get_zcache(23)
from line #9 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 0
arguments; 1 given
Got: TypeError: function takes exactly 0 arguments (1
given)
*****************************************************************
Failure in example: _g.get_qcache(23)
from line #21 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 0
arguments; 1 given
Got: TypeError: function takes exactly 0 arguments (1
given)
*****************************************************************
Failure in example: _g.get_zconst(23)
from line #33 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 0
arguments; 1 given
Got: TypeError: function takes exactly 0 arguments (1
given)
*****************************************************************
Failure in example: _g.set_zconst()
from line #37 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 2
arguments; 0 given
Got: TypeError: function takes exactly 2 arguments (0
given)
*****************************************************************
Failure in example: _g.set_zconst(23)
from line #41 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 2
arguments; 1 given
Got: TypeError: function takes exactly 2 arguments (1
given)
*****************************************************************
Failure in example: _g.set_zconst(23,45,67)
from line #45 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 2
arguments; 3 given
Got: TypeError: function takes exactly 2 arguments (3
given)
*****************************************************************
Failure in example: _g.set_debug()
from line #61 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 1
argument; 0 given
Got: TypeError: function takes exactly 1 argument (0
given)
*****************************************************************
Failure in example: _g.set_debug(2,3)
from line #65 of __main__.__test__.user_errors
Expected: TypeError: function requires exactly 1
argument; 2 given
Got: TypeError: function takes exactly 1 argument (2
given)
*****************************************************************
Failure in example: _g.mpz(23).setbit(12,1,2,3)
from line #167 of __main__.__test__.user_errors
Expected: TypeError: function requires at most 2
arguments; 4 given
Got: TypeError: function takes at most 2 arguments (4
given)
*****************************************************************
Failure in example: _g.setbit(12,1,2,3)
from line #171 of __main__.__test__.user_errors
Expected: TypeError: function requires at most 3
arguments; 4 given
Got: TypeError: function takes at most 3 arguments (4
given)
*****************************************************************
Failure in example: _g.mpq(2).qdiv(3,4)
from line #223 of __main__.__test__.user_errors
Expected: TypeError: function requires at most 1
argument; 2 given
Got: TypeError: function takes at most 1 argument (2
given)
*****************************************************************
Failure in example: _g.qdiv(3,4,5)
from line #227 of __main__.__test__.user_errors
Expected: TypeError: function requires at most 2
arguments; 3 given
Got: TypeError: function takes at most 2 arguments (3
given)
Repeating tests, with empty callbacks

Overall results for cvr:
2 items passed all tests:
4 tests in __main__
12 tests in __main__.__test__.misc_stuff
1 items had failures:
28 of 244 in __main__.__test__.user_errors
260 tests in 3 items.
232 passed and 28 failed.
***Test Failed*** 28 failures.

Discussion

  • Alex Martelli

    Alex Martelli - 2001-09-03
    • status: open --> open-fixed
     
  • Alex Martelli

    Alex Martelli - 2001-09-03
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.