Skip to content

On aarch64 architecture, test_timeconstrained1from test_datentime.py fails #142

@badshah400

Description

@badshah400

When building mathics-core for openSUSE Tumbleweed, on the aarch64 architecture, the following test from version 4.0.0 fails (however, everything passes on x86_64 and i586). Any help resolving this would be appreciated.

[ 1876s] ____________________________ test_timeconstrained1 _____________________________
[ 1876s] 
[ 1876s]     def test_timeconstrained1():
[ 1876s]         #
[ 1876s]         str_expr1 = "a=1.; TimeConstrained[Do[Pause[.1];a=a+1,{1000}],1]"
[ 1876s]         result = evaluate(str_expr1)
[ 1876s]         str_expected = "$Aborted"
[ 1876s]         expected = evaluate(str_expected)
[ 1876s]         assert result == expected
[ 1876s]         time.sleep(1)
[ 1876s] >       assert evaluate("a").to_python() == 10
[ 1876s] E       assert 9.0 == 10
[ 1876s] E         +9.0
[ 1876s] E         -10
[ 1876s] 
[ 1876s] test_datentime.py:28: AssertionError

Thanks for your app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions