Skip to content
Snippets Groups Projects
Commit 6e7cb008 authored by Damian Johnson's avatar Damian Johnson
Browse files

Unit testing error with python3

Oops, the 'L' suffix for numbers makes python3 sad. Turns out python2 doesn't
care about it either so simple fix...

  https://trac.torproject.org/projects/tor/ticket/19692
parent fd507a61
No related branches found
No related tags found
No related merge requests found
......@@ -503,7 +503,7 @@ class TestConnection(unittest.TestCase):
self.assertEqual(2, stem.util.connection.address_to_int('0.0.0.2'))
self.assertEqual(256, stem.util.connection.address_to_int('0.0.1.0'))
self.assertEqual(2130706433, stem.util.connection.address_to_int('127.0.0.1'))
self.assertEqual(338288524927261089654163772891438416681L, stem.util.connection.address_to_int('fe80:0000:0000:0000:0202:b3ff:fe1e:8329'))
self.assertEqual(338288524927261089654163772891438416681, stem.util.connection.address_to_int('fe80:0000:0000:0000:0202:b3ff:fe1e:8329'))
def test_expand_ipv6_address(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment