test @sym/assume
Symbolic pkg v3.0.1+: Python communication link active, SymPy v1.12rc1.
***** test
syms x
x = assume(x, 'positive');
a = assumptions(x);
assert(strcmp(a, 'x: positive'))
x = assume(x, 'even');
a = assumptions(x);
assert(strcmp(a, 'x: even'))
x = assume(x, 'odd');
a = assumptions(x);
assert(strcmp(a, 'x: odd'))
!!!!! test failed
assert (strcmp (a, 'x: positive')) failed
I assume, but haven't checked, that this is related to https://github.com/sympy/sympy/pull/24895, merged recently in the lead up to 1.12