test_repr (tests.test_orderedset.TestOrderedset.test_repr) ... ok test_reverse_order (tests.test_orderedset.TestOrderedset.test_reverse_order) ... ok test_symmetric_difference_and_update (tests.test_orderedset.TestOrderedset.test_symmetric_difference_and_update) ... ok test_symmetric_difference_with_iterable (tests.test_orderedset.TestOrderedset.test_symmetric_difference_with_iterable) ... ERROR test_union_and_update (tests.test_orderedset.TestOrderedset.test_union_and_update) ... ok test_union_with_iterable (tests.test_orderedset.TestOrderedset.test_union_with_iterable) ... ERROR ====================================================================== ERROR: test_difference_with_iterable (tests.test_orderedset.TestOrderedset.test_difference_with_iterable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/orderedset-2.0.3/tests/test_orderedset.py", line 276, in test_difference_with_iterable self.assertEqual([3, 2, 4, 1] - OrderedSet([2, 4]), OrderedSet([3, 1])) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for -: 'list' and 'OrderedSet' ====================================================================== ERROR: test_intersection_with_iterable (tests.test_orderedset.TestOrderedset.test_intersection_with_iterable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/orderedset-2.0.3/tests/test_orderedset.py", line 271, in test_intersection_with_iterable self.assertEqual([1, 2, 3] & OrderedSet([3, 2]), OrderedSet([2, 3])) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for &: 'list' and 'OrderedSet' ====================================================================== ERROR: test_symmetric_difference_with_iterable (tests.test_orderedset.TestOrderedset.test_symmetric_difference_with_iterable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/orderedset-2.0.3/tests/test_orderedset.py", line 261, in test_symmetric_difference_with_iterable self.assertEqual(oset1 ^ [1], OrderedSet([])) ~~~~~~^~~~~ File "lib/orderedset/_orderedset.pyx", line 323, in orderedset._orderedset._OrderedSet.__xor__ return (self - other) | (other - self) TypeError: unsupported operand type(s) for -: 'list' and 'OrderedSet' ====================================================================== ERROR: test_union_with_iterable (tests.test_orderedset.TestOrderedset.test_union_with_iterable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/orderedset-2.0.3/tests/test_orderedset.py", line 251, in test_union_with_iterable self.assertEqual([2] | oset1, OrderedSet([2, 1])) ~~~~^~~~~~~ TypeError: unsupported operand type(s) for |: 'list' and 'OrderedSet' ---------------------------------------------------------------------- Ran 32 tests in 0.148s FAILED (errors=4) Test failed: error: Test failed: error: Bad exit status from /var/tmp/rpm-tmp.EZmjYi (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EZmjYi (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-orderedset.spec