diff options
| author | Damian Johnson <atagar@torproject.org> | 2016-07-16 10:41:49 -0700 |
|---|---|---|
| committer | Damian Johnson <atagar@torproject.org> | 2016-07-16 10:41:49 -0700 |
| commit | 6e7cb008ac9f140803c1792792438b8a34cdbe3f (patch) | |
| tree | 4b60c93043aa9bffce8c831f3af84b390a213f4d | |
| parent | fd507a61eea24b99c260fc47552279f9deba6f18 (diff) | |
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
| -rw-r--r-- | test/unit/util/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/util/connection.py b/test/unit/util/connection.py index 14d19a2e..b7ca4c61 100644 --- a/test/unit/util/connection.py +++ b/test/unit/util/connection.py @@ -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): """ |
