Skip to content

Instantly share code, notes, and snippets.

@certik
Created May 8, 2011 18:42
Show Gist options
  • Select an option

  • Save certik/961586 to your computer and use it in GitHub Desktop.

Select an option

Save certik/961586 to your computer and use it in GitHub Desktop.
sympy/physics/quantum/tests/test_spin.py[4] .... [OK]
sympy/physics/quantum/tests/test_state.py[7] ....... [OK]
sympy/physics/quantum/tests/test_tensorproduct.py[5] ..... [OK]
sympy/physics/tests/test_clebsch_gordan.py[5] ..... [OK]
sympy/physics/tests/test_hydrogen.py[4] .... [OK]
sympy/physics/tests/test_paulialgebra.py[1] . [OK]
sympy/physics/tests/test_physics_matrices.py[2] .. [OK]
sympy/physics/tests/test_qho_1d.py[4] .... [OK]
sympy/physics/tests/test_secondquant.py[49] ....................................
............. [OK]
sympy/physics/tests/test_sho.py[2] .. [OK]
sympy/physics/tests/test_units.py[1] . [OK]
sympy/plotting/tests/test_plotting.py[10] .......... [OK]
sympy/polys/tests/test_constructor.py[1] E [FAIL]
sympy/polys/tests/test_densearith.py[44] .......................................
..... [OK]
sympy/polys/tests/test_densebasic.py[58] .......................................
................... [OK]
sympy/polys/tests/test_densetools.py[36] ................................E...
[FAIL]
Traceback (most recent call last):
File "./setup.py", line 271, in <module>
'audit' : audit,
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "./setup.py", line 163, in run
if test():
File "/tmp/tmpejE7Kt/sympy/sympy/utilities/runtests.py", line 162, in test
return t.test(sort=sort)
File "/tmp/tmpejE7Kt/sympy/sympy/utilities/runtests.py", line 468, in test
self.test_file(f)
File "/tmp/tmpejE7Kt/sympy/sympy/utilities/runtests.py", line 480, in test_file
execfile(filename, gl)
File "/tmp/tmpejE7Kt/sympy/sympy/polys/tests/test_domains.py", line 19, in <module>
ALG = QQ.algebraic_field(sqrt(2)+sqrt(3))
File "/tmp/tmpejE7Kt/sympy/sympy/polys/domains/rationalfield.py", line 26, in algebraic_field
return AlgebraicField(self, *extension)
File "/tmp/tmpejE7Kt/sympy/sympy/polys/domains/algebraicfield.py", line 27, in __init__
self.ext = to_number_field(ext)
File "/tmp/tmpejE7Kt/sympy/sympy/polys/numberfields.py", line 361, in to_number_field
minpoly, coeffs = primitive_element(extension, gen, polys=True)
File "/tmp/tmpejE7Kt/sympy/sympy/polys/numberfields.py", line 153, in primitive_element
extension = [ AlgebraicNumber(ext, gen=x) for ext in extension ]
File "/tmp/tmpejE7Kt/sympy/sympy/polys/numberfields.py", line 398, in __new__
minpoly, root = minimal_polynomial(expr, args.get('gen'), polys=True), expr
File "/tmp/tmpejE7Kt/sympy/sympy/polys/numberfields.py", line 117, in minimal_polynomial
G = groebner(F, symbols.values() + [x], order='lex')
File "/tmp/tmpejE7Kt/sympy/sympy/polys/polytools.py", line 5052, in groebner
G = lgroebner.groebner_basis(polys)
File "/tmp/tmpejE7Kt/sympy/sympy/polys/lgroebner.py", line 159, in groebner_basis
_, r = p.division(f[:i])
File "/tmp/tmpejE7Kt/sympy/sympy/polys/lpoly.py", line 1026, in division
p.iadd_m_mul_q(fv[i],(expv1,-c))
File "/tmp/tmpejE7Kt/sympy/sympy/polys/lpoly.py", line 908, in iadd_m_mul_q
p1[ka] = get(ka,0) + v*c
File "/tmp/tmpejE7Kt/sympy/sympy/polys/domains/pythonrationaltype.py", line 127, in __mul__
return self.__class__(p, q)
File "/tmp/tmpejE7Kt/sympy/sympy/polys/domains/pythonrationaltype.py", line 38, in __init__
self.p = p//g
TypeError: unsupported operand type(s) for //: 'PythonRationalType' and 'int'
> switch back to master: git checkout master
> delete temporary branch: git branch -D next-test
Done.
View report at: /tmp/tmpejE7Kt/out/report.html
View log at: /tmp/tmpejE7Kt/out/log
> Uploading test results
> Uploaded report at: http://pastehtml.com/view/1ef69jq.html
> Review:
Test results html report: http://pastehtml.com/view/1ef69jq.html
Automatic review by [sympy-bot](https://github.com/sympy/sympy-bot).
> Uploading the review to the github pull request
> Done.
> Check the results: https://github.com/sympy/sympy/pull/295
> Merged pull request available in: /tmp/tmpejE7Kt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment