Skip to content

Commit cfa287c

Browse files
committed
Another leftover from unicode_literals
1 parent b15e758 commit cfa287c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

jsonschema/tests/test_validators.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,6 @@ def test(self, format=format):
616616
v.validate(123)
617617

618618
name = "test_{0}_ignores_non_strings".format(format)
619-
if not PY3:
620-
name = name.encode("utf-8")
621619
test.__name__ = name
622620
setattr(TestBuiltinFormats, name, test)
623621
del test # Ugh py.test. Stop discovering top level tests.

0 commit comments

Comments
 (0)