Skip to content

Instantly share code, notes, and snippets.

@certik
Created June 16, 2011 05:26
Show Gist options
  • Select an option

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

Select an option

Save certik/1028717 to your computer and use it in GitHub Desktop.
$ bin/test sympy/physics/quantum/tests/test_spin.py
============================= test process starts ==============================
executable: /usr/bin/python (2.7.1-final-0)
ground types: python
sympy/physics/quantum/tests/test_spin.py[7] .EE..f. [FAIL]
________________________________________________________________________________
____________ sympy/physics/quantum/tests/test_spin.py:test_rewrite _____________
File "/home/ondrej/repos/sympy/sympy/physics/quantum/tests/test_spin.py", line 25, in test_rewrite
assert JxKet(1,1).rewrite('Jx') == JxKet(1,1)
NameError: global name 'JxKet' is not defined
________________________________________________________________________________
__________ sympy/physics/quantum/tests/test_spin.py:test_innerproduct __________
File "/home/ondrej/repos/sympy/sympy/physics/quantum/tests/test_spin.py", line 32, in test_innerproduct
assert InnerProduct(JzBra(1,1), JzKet(1,1)).doit() == 1
NameError: global name 'JzBra' is not defined
= tests finished: 4 passed, 1 expected to fail, 2 exceptions, in 0.06 seconds ==
DO *NOT* COMMIT!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment