[tor-bugs] #18659 [Stem]: test_connections_ipv6 test failure on OSX
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Mar 27 18:55:44 UTC 2016
#18659: test_connections_ipv6 test failure on OSX
---------------------------+--------------------
Reporter: Sebastian | Owner: atagar
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Stem | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
---------------------------+--------------------
Looks like assertEqual can't correctly compare ipv6 addresses:
{{{
- Connection(local_address='2a01:4f8:190:514a::2', local_port=443,
remote_address='2001:858:2:2:aabb:0:563b:1526', remote_port=44469,
protocol='tcp', is_ipv6=True)]
+ Connection(local_address='2a01:4f8:190:514a::2', local_port=443,
remote_address='2001:858:2:2:aabb::563b:1526', remote_port=44469,
protocol='tcp', is_ipv6=True)]
}}}
one way to resolve this would be to depend on ipaddress to canonicalize
the addresses, but I guess Stem doesn't want to do that. Another idea
would be to disable the test on OSX, as it doesn't even have a /proc
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18659>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list