Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #30598
Closed
Open
Issue created May 24, 2019 by teor@teor

test_relay_cell fails on pypy 3.5

test_relay_cell                                              [FAILURE]
test_unimplemented_cell_methods                        1 ms  [SUCCESS]
test_unpack_for_new_link                               3 ms  [SUCCESS]
test_versions_cell                                     3 ms  [SUCCESS]
test_vpadding_cell                                     3 ms  [SUCCESS]
======================================================================
ERROR: test_relay_cell
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/teor2345/stem/test/unit/client/cell.py", line 212, in test_relay_cell
    self.assertEqual(3257622417, RelayCell(5, 'RELAY_BEGIN_DIR', '', digest, 564346860).digest)
  File "/home/travis/build/teor2345/stem/stem/client/cell.py", line 363, in __init__
    raise ValueError('RELAY cell digest must be a hash, string, or int but was a %s' % type(digest).__name__)
ValueError: RELAY cell digest must be a hash, string, or int but was a Hash
----------------------------------------------------------------------
Ran 16 tests in 0.056s
FAILED (errors=1)

https://travis-ci.org/teor2345/stem/jobs/536613181#L1526

It looks like hash and Hash are different classes in pypy. Maybe they're the same in C python?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking