Skip to content

Commit

Permalink
Python 3 strings are unicode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Agmagor committed Jul 31, 2014
1 parent 5d23350 commit c63733e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tldextract/tests/all.py
Expand Up @@ -113,7 +113,7 @@ def test_ip(self):
self.assertExtract('216.22', 'project', 'coop', 'http://216.22.project.coop/')

def test_punycode(self):
self.assertExtract('', u'россия', u'рф', 'http://xn--h1alffa9f.xn--p1ai')
self.assertExtract('', 'россия', 'рф', 'http://xn--h1alffa9f.xn--p1ai')

def test_empty(self):
self.assertExtract('', '', '', 'http://')
Expand Down

0 comments on commit c63733e

Please sign in to comment.