Skip to content

Commit b33ef40

Browse files
committed
oop, fix tests
we should not unicode() after all
1 parent ac33aa7 commit b33ef40

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pyvips/error.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ def _to_string(x):
3737
if isinstance(x, bytes):
3838
if _is_PY3:
3939
x = x.decode('utf-8')
40-
else:
41-
x = unicode(x, 'utf-8')
4240
return x
4341

4442

0 commit comments

Comments
 (0)