diff options
| author | Bob Halley <halley@dnspython.org> | 2017-01-02 06:19:38 -0800 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2017-01-02 06:19:38 -0800 |
| commit | 6b5875748264b2fbd740185cf26b4be0bafd0f37 (patch) | |
| tree | 57c11e8ab8f5632795ebaf32d852e28ff21c4b95 /tests/test_name.py | |
| parent | 771f9283ad524e7635a2ecc6a775454c2f56646f (diff) | |
| download | dnspython-6b5875748264b2fbd740185cf26b4be0bafd0f37.tar.gz | |
to_e164() was returning binary instead of text.
Doco update for e164
Diffstat (limited to 'tests/test_name.py')
| -rw-r--r-- | tests/test_name.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_name.py b/tests/test_name.py index f2a8773..fecbaaf 100644 --- a/tests/test_name.py +++ b/tests/test_name.py @@ -782,7 +782,7 @@ class NameTestCase(unittest.TestCase): def testEnumToE164(self): n = dns.name.from_text('2.1.2.1.5.5.5.0.5.6.1.e164.arpa.') - e = b'+16505551212' + e = '+16505551212' text = dns.e164.to_e164(n) self.assertEqual(text, e) |
