Status: Accepted
Owner: ondrej.certik
Labels: Type-Defect Priority-Medium Milestone-Release0.6.5

New issue 1536 by ondrej.certik: one test failure in Sage
http://code.google.com/p/sympy/issues/detail?id=1536

sage: sympy.test()
============================= test process starts
==============================
executable:
/home/ondrej/ext/sage-4.0.1-linux-Ubuntu_9.04-sse2-x86_64-Linux/local/bin/sage.bin
  (2.5.4-final-0)

sympy/concrete/tests/test_gosper.py[2] ..
  [OK]
sympy/concrete/tests/test_products.py[3] ...
  [OK]
sympy/concrete/tests/test_sums_products.py[14] ...fff........
  [OK]
sympy/core/tests/test_arit.py[42] ...ff.....................................

  [OK]
sympy/core/tests/test_assumptions.py[27] ...f.......................
  [OK]
sympy/core/tests/test_basic.py[39] .......................................
  [OK]
sympy/core/tests/test_cache.py[1] .
  [OK]
sympy/core/tests/test_complex.py[10] ..........
  [OK]
sympy/core/tests/test_count_ops.py[1] .
  [OK]
sympy/core/tests/test_diff.py[5] .....
  [OK]
sympy/core/tests/test_equal.py[5] .....
  [OK]
sympy/core/tests/test_eval.py[8] ...f....
  [OK]
sympy/core/tests/test_eval_power.py[10] ..........
  [OK]
sympy/core/tests/test_evalf.py[19] ...................
  [OK]
sympy/core/tests/test_facts.py[11] ...........
  [OK]
sympy/core/tests/test_functions.py[26] ....ff....................
  [OK]
sympy/core/tests/test_logic.py[10] ..........
  [OK]
sympy/core/tests/test_match.py[26] ..f.......................
  [OK]
sympy/core/tests/test_multidimensional.py[4] ....
  [OK]
sympy/core/tests/test_numbers.py[31] ...............................
  [OK]
sympy/core/tests/test_relational.py[5] .....
  [OK]
sympy/core/tests/test_subs.py[20] ....................
  [OK]
sympy/core/tests/test_symbol.py[5] .....
  [OK]
sympy/core/tests/test_sympify.py[19] ...................
  [OK]
sympy/core/tests/test_truediv.py[3] ...
  [OK]
sympy/core/tests/test_var.py[4] ....
  [OK]
sympy/functions/combinatorial/tests/test_comb_factorials.py[3] ...
  [OK]
sympy/functions/combinatorial/tests/test_comb_numbers.py[4] E...
[FAIL]
sympy/functions/elementary/tests/test_complexes.py[9] .........
  [OK]
sympy/functions/elementary/tests/test_exponential.py[9] .........
  [OK]
sympy/functions/elementary/tests/test_hyperbolic.py[11] .f.........
  [OK]
sympy/functions/elementary/tests/test_integers.py[3] .f.
  [OK]
sympy/functions/elementary/tests/test_interface.py[3] ...
  [OK]
sympy/functions/elementary/tests/test_miscellaneous.py[2] ..
  [OK]
sympy/functions/elementary/tests/test_piecewise.py[1] .
  [OK]
sympy/functions/elementary/tests/test_trigonometric.py[11] ...........
  [OK]
sympy/functions/special/tests/test_delta_functions.py[2] ..
  [OK]
sympy/functions/special/tests/test_error_functions.py[3] ...
  [OK]
sympy/functions/special/tests/test_gamma_functions.py[6] ......
  [OK]
sympy/functions/special/tests/test_spec_polynomials.py[4] ....
  [OK]
sympy/functions/special/tests/test_spherical_harmonics.py[5] .....
  [OK]
sympy/functions/special/tests/test_tensor_functions.py[2] ..
  [OK]
sympy/functions/special/tests/test_zeta_functions.py[2] ..
  [OK]
sympy/galgebra/tests/test_GA.py[11] ...........
  [OK]
sympy/geometry/tests/test_geometry.py[7] .......
  [OK]
sympy/integrals/tests/test_integrals.py[44]
....................................
........
  [OK]
sympy/integrals/tests/test_lineintegrals.py[1] .
  [OK]
sympy/integrals/tests/test_rationaltools.py[2] ..
  [OK]
sympy/integrals/tests/test_risch.py[19] ...ffff............
  [OK]
sympy/integrals/tests/test_trigonometry.py[2] ..
  [OK]
sympy/logic/tests/test_boolalg.py[22] ......................
  [OK]
sympy/logic/tests/test_dimacs.py[4] ....
  [OK]
sympy/logic/tests/test_inference.py[10] ..........
  [OK]
sympy/matrices/tests/test_matrices.py[45]
......................................
.......
  [OK]
sympy/mpmath/tests/test_basic_ops.py[11] ...........
  [OK]
sympy/mpmath/tests/test_bitwise.py[10] ..........
  [OK]
sympy/mpmath/tests/test_calculus.py[6] ......
  [OK]
sympy/mpmath/tests/test_compatibility.py[3] ...
  [OK]
sympy/mpmath/tests/test_convert.py[12] ............
  [OK]
sympy/mpmath/tests/test_diff_mpmath.py[2] ..
  [OK]
sympy/mpmath/tests/test_division.py[7] .......
  [OK]
sympy/mpmath/tests/test_elliptic.py[11] ...........
  [OK]
sympy/mpmath/tests/test_functions2.py[16] ................
  [OK]
sympy/mpmath/tests/test_functions_mpmath.py[39]
................................
.......
  [OK]
sympy/mpmath/tests/test_gammazeta.py[26] ..........................
  [OK]
sympy/mpmath/tests/test_hp.py[3] ...
  [OK]
sympy/mpmath/tests/test_identify.py[2] ..
  [OK]
sympy/mpmath/tests/test_interval.py[9] .........
  [OK]
sympy/mpmath/tests/test_linalg.py[13] .............
  [OK]
sympy/mpmath/tests/test_matrices_mpmath.py[8] ........
  [OK]
sympy/mpmath/tests/test_mpmath.py[7] .......
  [OK]
sympy/mpmath/tests/test_ode_mpmath.py[5] .....
  [OK]
sympy/mpmath/tests/test_pickle.py[1] .
  [OK]
sympy/mpmath/tests/test_power.py[3] ...
  [OK]
sympy/mpmath/tests/test_quad.py[13] .............
  [OK]
sympy/mpmath/tests/test_rootfinding.py[7] .......
  [OK]
sympy/mpmath/tests/test_special.py[5] .....
  [OK]
sympy/mpmath/tests/test_summation.py[5] .....
  [OK]
sympy/mpmath/tests/test_trig.py[3] ...
  [OK]
sympy/ntheory/tests/test_ntheory.py[18] ..................
  [OK]
sympy/parsing/tests/test_mathematica.py[1] .
  [OK]
sympy/parsing/tests/test_maxima.py[3] ...
  [OK]
sympy/physics/tests/test_paulialgebra.py[1] .
  [OK]
sympy/physics/tests/test_physics_matrices.py[2] ..
  [OK]
sympy/physics/tests/test_secondquant.py[14] ..............
  [OK]
sympy/physics/tests/test_units.py[1] .
  [OK]
sympy/plotting/tests/test_plotting.py[10] ..........
  [OK]
sympy/polys/tests/test_galoispolys.py[19] ...................
  [OK]
sympy/polys/tests/test_integerpolys.py[80]
.....................................
...........................................
  [OK]
sympy/polys/tests/test_polynomial.py[52]
.......................................
.............
  [OK]
sympy/polys/tests/test_specialpolys.py[3] ...
  [OK]
sympy/printing/pretty/tests/test_pretty.py[18] ..................
  [OK]
sympy/printing/pretty/tests/test_pretty_unicode.py[18] ..................
  [OK]
sympy/printing/tests/test_ccode.py[8] ........
  [OK]
sympy/printing/tests/test_gtk.py[1] f
  [OK]
sympy/printing/tests/test_lambdarepr.py[2] ..
  [OK]
sympy/printing/tests/test_latex.py[19] ...f...............
  [OK]
sympy/printing/tests/test_mathml.py[12] ............
  [OK]
sympy/printing/tests/test_precedence.py[11] ...........
  [OK]
sympy/printing/tests/test_python.py[6] ......
  [OK]
sympy/printing/tests/test_repr.py[19] ...................
  [OK]
sympy/printing/tests/test_str.py[55]
...........................................
............
  [OK]
sympy/series/tests/test_demidovich.py[17] .................
  [OK]
sympy/series/tests/test_gruntz.py[22] .f....................
  [OK]
sympy/series/tests/test_limits.py[17] ....f............
  [OK]
sympy/series/tests/test_lseries.py[4] ....
  [OK]
sympy/series/tests/test_nseries.py[62]
.........................................
.....................
  [OK]
sympy/series/tests/test_order.py[26] ..........................
  [OK]
sympy/series/tests/test_series.py[4] ....
  [OK]
sympy/simplify/tests/test_cse.py[9] .........
  [OK]
sympy/simplify/tests/test_rewrite.py[6] ...X..
  [OK]
sympy/simplify/tests/test_simplify.py[29] ...Xfff......................
  [OK]
sympy/simplify/tests/test_sqrtdenest.py[2] .f
  [OK]
sympy/slow_tests/test_core.py[1] .
  [OK]
sympy/solvers/tests/test_numeric.py[1] .
  [OK]
sympy/solvers/tests/test_ode.py[12] ............
  [OK]
sympy/solvers/tests/test_pde.py[2] ..
  [OK]
sympy/solvers/tests/test_polysys.py[1] .
  [OK]
sympy/solvers/tests/test_recurr.py[39] .......................................

  [OK]
sympy/solvers/tests/test_solvers.py[20] ....................
  [OK]
sympy/statistics/tests/test_statistics.py[5] .....
  [OK]
sympy/test_external/test_codegen_c_cc.py[5] .....
  [OK]
sympy/test_external/test_numpy.py[19] ...................
  [OK]
sympy/test_external/test_sage.py[13] .............
  [OK]
sympy/utilities/tests/test_code_quality.py[2] ..
  [OK]
sympy/utilities/tests/test_codegen.py[10] ..........
  [OK]
sympy/utilities/tests/test_decorator.py[1] .
  [OK]
sympy/utilities/tests/test_iterables.py[5] .....
  [OK]
sympy/utilities/tests/test_lambdify.py[25] ....f....................
  [OK]
sympy/utilities/tests/test_pickling.py[28] ffffff......................
  [OK]
sympy/utilities/tests/test_pytest.py[1] .
  [OK]
sympy/utilities/tests/test_source.py[2] ..
  [OK]
sympy/utilities/tests/test_tests_names.py[1] .
  [OK]

________________________________ xpassed tests
_________________________________
sympy/simplify/tests/test_rewrite.py:
sympy/simplify/tests/test_simplify.py:

________________________________________________________________________________
___ sympy/functions/combinatorial/tests/test_comb_numbers.py:test_bernoulli
____
   File
"/home/ondrej/ext/sage-4.0.1-linux-Ubuntu_9.04-sse2-x86_64-Linux/local/lib/python2.5/site-packages/sympy/functions/combinatorial/tests/test_comb_numbers.py",
line 25, in test_bernoulli
     b = bernoulli(1000)
   File
"/home/ondrej/ext/sage-4.0.1-linux-Ubuntu_9.04-sse2-x86_64-Linux/local/lib/python2.5/site-packages/sympy/core/multidimensional.py",
line 127, in wrapper
     return f(*args, **kwargs)
   File
"/home/ondrej/ext/sage-4.0.1-linux-Ubuntu_9.04-sse2-x86_64-Linux/local/lib/python2.5/site-packages/sympy/core/cache.py",
line 85, in wrapper
     func_cache_it_cache[k] = r = func(*args, **kw_args)
   File
"/home/ondrej/ext/sage-4.0.1-linux-Ubuntu_9.04-sse2-x86_64-Linux/local/lib/python2.5/site-packages/sympy/core/function.py",
line 139, in __new__
     evaluated = cls.eval(*args)
   File
"/home/ondrej/ext/sage-4.0.1-linux-Ubuntu_9.04-sse2-x86_64-Linux/local/lib/python2.5/site-packages/sympy/functions/combinatorial/numbers.py",
line 259, in eval
     return Rational(int(p), q)
   File
"/home/ondrej/ext/sage-4.0.1-linux-Ubuntu_9.04-sse2-x86_64-Linux/local/lib/python2.5/site-packages/sympy/core/cache.py",
line 268, in wrapper
     new_args = tuple([template.process(a,func,i) for (a, template, i) in
zip(args, self.arg_templates, range(len(args)))])
   File
"/home/ondrej/ext/sage-4.0.1-linux-Ubuntu_9.04-sse2-x86_64-Linux/local/lib/python2.5/site-packages/sympy/core/cache.py",
line 190, in process
     raise ValueError('%s %s-th argument must be of type %r but got %r' %
(func_src, index, self.allowed_types, obj))
ValueError:
/home/ondrej/ext/sage-4.0.1-linux-Ubuntu_9.04-sse2-x86_64-Linux/local/lib/python2.5/site-packages/sympy/core/numbers.py:493:function
__new__ 2-th argument must be of type (<type 'int'>, <type 'long'>, <class
'sympy.core.numbers.Integer'>, <type 'NoneType'>) but got 342999030

  tests finished: 1554 passed, 31 xfailed, 2 xpassed, 1 exceptions in 183.82
seconds
DO *NOT* COMMIT!
False


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to