kachayev/fn.py

Test fails for PyPy (FingerTreeDequeTestCase)

microamp opened this issue · 2 comments

Currently, the test fails for PyPy as shown below.

======================================================================

FAIL: test_iterator (__main__.FingerTreeDequeTestCase)

----------------------------------------------------------------------

Traceback (most recent call last):

File "tests.py", line 1083, in test_iterator

self.assertEqual([], list(Deque()))

AssertionError: Lists differ: [] != [<function <lambda> at 0x00007...

Second list contains 1 additional elements.

First extra element 0:

<function <lambda> at 0x00007fe2f940b9e8>

- []

+ [<function <lambda> at 0x00007fe2f940b9e8>]

----------------------------------------------------------------------

Ran 123 tests in 1.195s

FAILED (failures=1)

You can find more about it here.

Strange, it works locally. I'll check it asap.