I thought that the old module is deprecated and it is to be removed. In the new module all assumptions are "property cashes" as you put it if I am not mistaken.
On 12 March 2012 19:53, Chris Smith <[email protected]> wrote: > The following tests fail with 32-bit: > > ``` > _______________________________________________________________________________ > ________ sympy\core\tests\test_facts.py:test_deduce_alpha_implications > ________ > File "c:\users\cps\sympy\sympy\core\tests\test_facts.py", line 18, in > test_ > deduce_alpha_implications > I,P = D([('a','b'), ('b','c')]) > File "c:\users\cps\sympy\sympy\core\tests\test_facts.py", line 14, in D > P = rules_2prereq(I) > File "C:\Users\cps\sympy\sympy\core\facts.py", line 219, in rules_2prereq > for (a, _), impl in rules.iteritems(): > ValueError: need more than 1 value to unpack > _______________________________________________________________________________ > _______ sympy\matrices\expressions\tests\test_indexing.py:test_slicing > ________ > File > "c:\users\cps\sympy\sympy\matrices\expressions\tests\test_indexing.py" > , line 64, in test_slicing > raises(IndexError, "W[3,:]") > File "C:\Users\cps\sympy\sympy\utilities\pytest.py", line 37, in raises > exec code in frame.f_globals, loc > File "<string>", line 1, in <module> > File "C:\Users\cps\sympy\sympy\matrices\expressions\matexpr.py", line 128, > in __getitem__ > key = sympify(key) > File "C:\Users\cps\sympy\sympy\core\sympify.py", line 128, in sympify > rational=rational) for x in a]) > File "C:\Users\cps\sympy\sympy\core\sympify.py", line 160, in sympify > expr = parse_expr(a, locals or {}, rational, convert_xor) > File "C:\Users\cps\sympy\sympy\parsing\sympy_parser.py", line 151, in > parse > _expr > expr = eval(code, global_dict, local_dict) # take local objects in > preferenc > e > File "<string>", line 1, in <module> > File "C:\Users\cps\sympy\sympy\core\symbol.py", line 98, in __call__ > return Function(self.name)(*args) > File "C:\Users\cps\sympy\sympy\core\function.py", line 631, in __new__ > result = super(AppliedUndef, cls).__new__(cls, *args, **options) > File "C:\Users\cps\sympy\sympy\core\cache.py", line 91, in wrapper > func_cache_it_cache[k] = r = func(*args, **kw_args) > File "C:\Users\cps\sympy\sympy\core\function.py", line 233, in __new__ > pr = max(cls._should_evalf(a) for a in result.args) > File "C:\Users\cps\sympy\sympy\core\function.py", line 233, in <genexpr> > pr = max(cls._should_evalf(a) for a in result.args) > File "C:\Users\cps\sympy\sympy\core\function.py", line 248, in > _should_eval > f > if arg.is_Float: > AttributeError: 'NoneType' object has no attribute 'is_Float' > > _______________________________________________________________________________ > __ sympy\functions\elementary\tests\test_complexes.py:test_periodic_argument > __ > File > "c:\users\cps\sympy\sympy\functions\elementary\tests\test_complexes.py > ", line 245, in test_periodic_argument > assert tn(unbranched_argument((1+I)**2), pi/2) > AssertionError > _______________________________________________________________________________ > __ sympy\functions\elementary\tests\test_complexes.py:test_principal_branch > ___ > File > "c:\users\cps\sympy\sympy\functions\elementary\tests\test_complexes.py > ", line 290, in test_principal_branch > assert tn(principal_branch((1 + I)**2, 2*pi), 2*I) > AssertionError > _______________________________________________________________________________ > ____________ sympy\physics\quantum\tests\test_spin.py:test_couple > _____________ > File "c:\users\cps\sympy\sympy\physics\quantum\tests\test_spin.py", line > 23 > 72, in test_couple > sqrt(6)*JzKetCoupled(2,0, (S(1)/2,S(1)/2,S(1)/2,S(1)/2), > ((1,2,1),(1,3,S(3)/ > 2),(1,4,2)) )/6 > AssertionError > ``` > > Only a few uncovered lines (perhaps related to failed tests): > > ``` > sympy\core\facts.py > raise TautologyDetected(a,b, 'a -> a|c|...') > raise TautologyDetected(a,b, 'a | b -> a') > sympy\core\function.py > raise ValueError("Unknown options: %s" % options) > sympy\core\symbol.py > return Dummy(name, **assumptions) > sympy\physics\secondquant.py > obj = Basic.__new__(cls, bra, ket) > sympy\printing\latex.py > tex = r"\left(%s\right)" % self._print(arg) > tex = r"\left(%s\right)" % self._print(arg) > ``` > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
