Status: Accepted
Owner: asmeurer
CC: smi...@gmail.com,  sapta.ii...@gmail.com
Labels: Type-Defect Priority-Critical Milestone-Release0.7.2

New issue 2680 by asmeurer: Test failure in master (combinatorics)
http://code.google.com/p/sympy/issues/detail?id=2680

In master:

sympymaster$%=$./bin/test sympy/combinatorics/
=========================================================================================== test process starts ============================================================================================
executable:   /sw/bin/python  (2.7.2-final-0)
architecture: 64-bit
cache:        yes
ground types: gmpy
random seed:  39114378

sympy/combinatorics/tests/test_generators.py[1] E [FAIL] sympy/combinatorics/tests/test_permutations.py[3] ... [OK] sympy/combinatorics/tests/test_prufer.py[1] . [OK]

____________________________________________________________________________________________________________________________________________________________________________________________________________
_______________________________________________________________________ sympy/combinatorics/tests/test_generators.py:test_generators _______________________________________________________________________ File "/users/aaronmeurer/documents/python/sympy/sympy/sympy/combinatorics/tests/test_generators.py", line 18, in test_generators assert list(alternating(4)) == [Permutation([0, 1, 2, 3]), Permutation([0, 2, 3, 1]), \ File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/combinatorics/generators.py", line 48, in alternating
    p = Permutation(perm)
File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/combinatorics/permutations.py", line 135, in __new__
    temp.sort()
AttributeError: 'tuple' object has no attribute 'sort'

========================================================================= tests finished: 4 passed, 1 exceptions, in 0.11 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.

Reply via email to