diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-01 13:02:31 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-01 13:30:39 -0400 |
commit | 9df434550a499c16e9fd26cfb9627837bfdc02a5 (patch) | |
tree | 5619ea3c3bec05d04363a66ced9c7ebffcefb1df /tests/test_html.py | |
parent | 3fe17c1f2244c07cf9d0f9e3609392c2ad441db1 (diff) | |
download | python-coveragepy-git-9df434550a499c16e9fd26cfb9627837bfdc02a5.tar.gz |
refactor: remove code explicitly choosing between py2 and py3
Diffstat (limited to 'tests/test_html.py')
-rw-r--r-- | tests/test_html.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_html.py b/tests/test_html.py index 5b0e0345..c0413c5a 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -1041,8 +1041,6 @@ assert len(math) == 18 def test_unicode(self): surrogate = u"\U000e0100" - if env.PY2: - surrogate = surrogate.encode('utf-8') self.make_file("unicode.py", """\ # -*- coding: utf-8 -*- |