Skip to content

test_chains.test_allc fails because of set ordering #147

@mihailescum

Description

@mihailescum

I moved to a different system, and when I try to run the tests pytest always fails in test_chains.test_allc.

The reason for this is that allc returns a set which is converted to a np.array for the test assertion. But a set is unordered and on my particular machine it somehow as a different order than what is actually expected. I don't know why this happens, I installed all dependencies.

What I propose to solve this issue is to change S_left to a set and have assert S_left == S_right instead of npt.assert_equal

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions