Sure:
In [7]: test('test_frame.py')
================================ test process starts
================================
executable: /Users/kate/.virtualenvs/symp/bin/python (3.5.0-final-0
) [CPython]
architecture: 64-bit
cache: yes
ground types: python
random seed: 41896037
hash randomization: on (PYTHONHASHSEED=938978246)
sympy/physics/vector/tests/test_frame.py[4] .EE.
[FAIL]
_____________________________________________________________________________________
_______________ sympy/physics/vector/tests/test_frame.py:test_ang_vel
_______________
File "/users/kate/devstuff/sympy/sympy/physics/vector/tests/test_frame.py"
, line 65, in test_ang_vel
A = N.orientnew('A', 'Axis', [q1, N.z])
File "/Users/kate/devstuff/sympy/sympy/physics/vector/frame.py", line 640,
in orientnew
newframe.orient(self, rot_type, amounts, rot_order)
File "/Users/kate/devstuff/sympy/sympy/physics/vector/frame.py", line 523,
in orient
[-axis[1], axis[0], 0]]) * sin(theta) + axis * axis.T)
File "/Users/kate/devstuff/sympy/sympy/core/cache.py", line 93, in wrapper
retval = cfunc(*args, **kwargs)
File "/Users/kate/devstuff/sympy/sympy/core/function.py", line 376, in
__new__
result = super(Function, cls).__new__(cls, *args, **options)
File "/Users/kate/devstuff/sympy/sympy/core/cache.py", line 93, in wrapper
retval = cfunc(*args, **kwargs)
File "/Users/kate/devstuff/sympy/sympy/core/function.py", line 200, in
__new__
evaluated = cls.eval(*args)
File
"/Users/kate/devstuff/sympy/sympy/functions/elementary/trigonometric.py",
line 469, in eval
if arg.could_extract_minus_sign():
File "/Users/kate/devstuff/sympy/sympy/core/expr.py", line 2088, in
could_extract_minus_sign
negative_self = -self
File "/Users/kate/devstuff/sympy/sympy/core/expr.py", line 112, in __neg__
return Mul(S.NegativeOne, self)
File "/Users/kate/devstuff/sympy/sympy/core/cache.py", line 93, in wrapper
retval = cfunc(*args, **kwargs)
KeyError: (<class 'sympy.core.add.Add'>, A_z, -A_z, <class
'sympy.core.assumptions.ManagedProperties'>, <class
'sympy.physics.vector.frame.CoordinateSym'>, <class 'sympy.core.mul.Mul'>)
_____________________________________________________________________________________
_________________ sympy/physics/vector/tests/test_frame.py:test_dcm
_________________
File "/users/kate/devstuff/sympy/sympy/physics/vector/tests/test_frame.py"
, line 130, in test_dcm
A = N.orientnew('A', 'Axis', [q1, N.z])
File "/Users/kate/devstuff/sympy/sympy/physics/vector/frame.py", line 640,
in orientnew
newframe.orient(self, rot_type, amounts, rot_order)
File "/Users/kate/devstuff/sympy/sympy/physics/vector/frame.py", line 523,
in orient
[-axis[1], axis[0], 0]]) * sin(theta) + axis * axis.T)
File "/Users/kate/devstuff/sympy/sympy/core/cache.py", line 93, in wrapper
retval = cfunc(*args, **kwargs)
File "/Users/kate/devstuff/sympy/sympy/core/function.py", line 376, in
__new__
result = super(Function, cls).__new__(cls, *args, **options)
File "/Users/kate/devstuff/sympy/sympy/core/cache.py", line 93, in wrapper
retval = cfunc(*args, **kwargs)
File "/Users/kate/devstuff/sympy/sympy/core/function.py", line 200, in
__new__
evaluated = cls.eval(*args)
File
"/Users/kate/devstuff/sympy/sympy/functions/elementary/trigonometric.py",
line 469, in eval
if arg.could_extract_minus_sign():
File "/Users/kate/devstuff/sympy/sympy/core/expr.py", line 2088, in
could_extract_minus_sign
negative_self = -self
File "/Users/kate/devstuff/sympy/sympy/core/expr.py", line 112, in __neg__
return Mul(S.NegativeOne, self)
File "/Users/kate/devstuff/sympy/sympy/core/cache.py", line 93, in wrapper
retval = cfunc(*args, **kwargs)
KeyError: (<class 'sympy.core.mul.Mul'>, A_x, 1, <class
'sympy.core.assumptions.ManagedProperties'>, <class
'sympy.physics.vector.frame.CoordinateSym'>, <class 'sympy.core.numbers.One'
>)
============== tests finished: 2 passed, 2 exceptions, in 2.28 seconds
==============
DO *NOT* COMMIT!
Out[7]: False
This is running the current master branch on Python 3.5.
On Monday, September 28, 2015 at 4:11:53 PM UTC-5, Jason Moore wrote:
>
> Kate,
>
> Could you paste in more of the traceback from the test run?
>
>
> Jason
> moorepants.info
> +01 530-601-9791
>
> On Mon, Sep 28, 2015 at 1:44 PM, Aaron Meurer <[email protected]
> <javascript:>> wrote:
>
>> I think that should work. Usually when a test fails, I open the file
>> and take a look at it, and run the code manually if I need to, but the
>> test runner doesn't do anything more than just import the modules and
>> run all the functions that start with "test_".
>>
>> Aaron Meurer
>>
>> On Mon, Sep 28, 2015 at 3:31 PM, Kate MacInnis <[email protected]
>> <javascript:>> wrote:
>> > I just want to make sure I understand how testing is supposed to work,
>> > before I start going through the code looking for the source of (what I
>> > think is) weirdness.
>> >
>> > If I run `sympy.test('test_frame')` and get:
>> >
>> > sympy/physics/vector/tests/test_frame.py[4] .EE.
>> > [FAIL]
>> >
>> >
>> _____________________________________________________________________________________
>> > _______________ sympy/physics/vector/tests/test_frame.py:test_ang_vel
>> > _______________
>> > File
>> > "/users/kate/devstuff/sympy/sympy/physics/vector/tests/test_frame.py",
>> line
>> > 65, in test_ang_vel
>> > ...
>> >
>> >
>> > then I should be able to do
>> >>>> from sympy.physics.vector.tests.test_frame import test_ang_vel
>> >>>> test_ang_vel()
>> >
>> > and get the same error, right? Or is that not what is supposed to
>> happen?
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "sympy" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to [email protected] <javascript:>.
>> > To post to this group, send email to [email protected]
>> <javascript:>.
>> > Visit this group at http://groups.google.com/group/sympy.
>> > To view this discussion on the web visit
>> >
>> https://groups.google.com/d/msgid/sympy/70260765-bde6-424f-9cb1-1b813f6ef671%40googlegroups.com
>> .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] <javascript:>
>> .
>> Visit this group at http://groups.google.com/group/sympy.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/CAKgW%3D6KumJ4p63gGcUdwVsJQgr6Z8CD_g%2BnYAz%2BzipKepASdYw%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/22e85fab-ba80-40ea-9d00-9920fda12331%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.