Skip to content

sympy 1.12 issues from assumptions, recent failures #1250

@cbm755

Description

@cbm755
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 sympy/sympy#24895, merged recently in the lead up to 1.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions