Comment #2 on issue 3272 by asmeu...@gmail.com: Python 3.3 test failures
http://code.google.com/p/sympy/issues/detail?id=3272
Here's a full list of test failures (I didn't get the expand hang this
time; whether it's because of luck with the hash randomization or because I
ran use2to3 with Python 3.3 I'm not yet sure).
______________________________________________________________________________________________________________________________________________________________
________________________________________________________
sympy/core/tests/test_arit.py:test_float_int
________________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/core/tests/test_arit.py",
line 1380, in test_float_int
assert int(Float('1.123456789012345678901234567890e20','')) == \
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 543, in __new__
num, dps = _decimal_to_Rational_prec(Num)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 59, in _decimal_to_Rational_prec
assert not dec._is_special
AttributeError: 'decimal.Decimal' object has no attribute '_is_special'
______________________________________________________________________________________________________________________________________________________________
__________________________________________________________
sympy/core/tests/test_expr.py:test_round
__________________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/core/tests/test_expr.py",
line 1346, in test_round
a = (Add(1, Float('1.'+'9'*27, ''), evaluate=0))
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 543, in __new__
num, dps = _decimal_to_Rational_prec(Num)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 59, in _decimal_to_Rational_prec
assert not dec._is_special
AttributeError: 'decimal.Decimal' object has no attribute '_is_special'
______________________________________________________________________________________________________________________________________________________________
_______________________________________________________
sympy/core/tests/test_functions.py:test_nfloat
_______________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/core/tests/test_functions.py",
line 481, in test_nfloat
Float_big = Float(big, '')
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 543, in __new__
num, dps = _decimal_to_Rational_prec(Num)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 59, in _decimal_to_Rational_prec
assert not dec._is_special
AttributeError: 'decimal.Decimal' object has no attribute '_is_special'
______________________________________________________________________________________________________________________________________________________________
________________________________________________________
sympy/core/tests/test_numbers.py:test_Float
_________________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/core/tests/test_numbers.py",
line 342, in test_Float
assert _aresame(Float(12, ''), Float('12', ''))
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 543, in __new__
num, dps = _decimal_to_Rational_prec(Num)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 59, in _decimal_to_Rational_prec
assert not dec._is_special
AttributeError: 'decimal.Decimal' object has no attribute '_is_special'
______________________________________________________________________________________________________________________________________________________________
_______________________________________________________
sympy/core/tests/test_relational.py:test_bool
________________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/core/tests/test_relational.py",
line 129, in test_bool
a = Float('.000000000000000000001', '')
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 543, in __new__
num, dps = _decimal_to_Rational_prec(Num)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 59, in _decimal_to_Rational_prec
assert not dec._is_special
AttributeError: 'decimal.Decimal' object has no attribute '_is_special'
______________________________________________________________________________________________________________________________________________________________
___________________________________________
sympy/functions/elementary/tests/test_trigonometric.py:test_issue_3091
___________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/functions/elementary/tests/test_trigonometric.py",
line 223, in test_issue_3091
c = Float('123456789012345678901234567890.25', '')
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 543, in __new__
num, dps = _decimal_to_Rational_prec(Num)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 59, in _decimal_to_Rational_prec
assert not dec._is_special
AttributeError: 'decimal.Decimal' object has no attribute '_is_special'
______________________________________________________________________________________________________________________________________________________________
__________________________________________________
sympy/solvers/tests/test_solvers.py:test_float_handling
___________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/solvers/tests/test_solvers.py",
line 904, in test_float_handling
assert test(nfloat(3*x**2, exponent=True), 3.0*x**2.0)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/function.py",
line 2062, in nfloat
rv = expr.n(n).replace(intex, floex)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/basic.py",
line 1265, in replace
result = rec_replace(self)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/basic.py",
line 1241, in rec_replace
result = rec_replace(arg)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/basic.py",
line 1256, in rec_replace
value = _value(expr, result)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/basic.py",
line 1229, in <lambda>
_value = lambda expr, result: value(expr)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/function.py",
line 2061, in <lambda>
floex = lambda x: Pow(x.base, Float(x.exp, ''), evaluate=False)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 543, in __new__
num, dps = _decimal_to_Rational_prec(Num)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/core/numbers.py",
line 59, in _decimal_to_Rational_prec
assert not dec._is_special
AttributeError: 'decimal.Decimal' object has no attribute '_is_special'
______________________________________________________________________________________________________________________________________________________________
___________________________________________
sympy/integrals/tests/test_transforms.py:test_inverse_mellin_transform
___________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/integrals/tests/test_transforms.py",
line 368, in test_inverse_mellin_transform
log(1-x)*Heaviside(1-x) + log(x-1)*Heaviside(x-1)
AssertionError
______________________________________________________________________________________________________________________________________________________________
______________________________________________________
sympy/matrices/tests/test_matrices.py:test_eigen
______________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/matrices/tests/test_matrices.py",
line 672, in test_eigen
( 0, 1, [Matrix([ 0,-1, 1])])])
AssertionError
______________________________________________________________________________________________________________________________________________________________
_________________________________________________
sympy/matrices/tests/test_matrices.py:test_diagonalization
_________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/matrices/tests/test_matrices.py",
line 1547, in test_diagonalization
assert P == eye(3)
AssertionError
______________________________________________________________________________________________________________________________________________________________
___________________________________________________
sympy/matrices/tests/test_matrices.py:test_jordan_form
___________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/matrices/tests/test_matrices.py",
line 1653, in test_jordan_form
assert Jmust == J
AssertionError
______________________________________________________________________________________________________________________________________________________________
___________________________________________________
sympy/printing/tests/test_lambdarepr.py:test_piecewise
___________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/printing/tests/test_lambdarepr.py",
line 58, in test_piecewise
assert l == "((x) if (x < 1) else (((x**2) if (((x <= 4) "\
AssertionError
______________________________________________________________________________________________________________________________________________________________
__________________________________________________
sympy/printing/tests/test_latex.py:test_latex_functions
___________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/printing/tests/test_latex.py",
line 141, in test_latex_functions
assert latex(Min(x, 2, x**3)) == r"\min\left(2, x, x^{3}\right)"
AssertionError
______________________________________________________________________________________________________________________________________________________________
_________________________________________________
sympy/simplify/tests/test_simplify.py:test_combsimp_gamma
__________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/simplify/tests/test_simplify.py",
line 1097, in test_combsimp_gamma
3**(3*x + S(1)/2)/(18*pi*gamma(3*x - 1))
AssertionError
______________________________________________________________________________________________________________________________________________________________
___________________________________________________
sympy/stats/tests/test_continuous_rv.py:test_symbolic
____________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/py3k-sympy/sympy/stats/tests/test_continuous_rv.py",
line 79, in test_symbolic
assert E(X+Y) == mu1+mu2
AssertionError
========== tests finished: 3762 passed, 8 failed, 71 skipped, 132 expected
to fail, 5 expected to fail but passed, 7 exceptions, in 1122.28 seconds
==========
DO *NOT* COMMIT!
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.