File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def tearDown(self):
53
53
54
54
def test_01_01_open_file (self ):
55
55
path = os .path .join (os .path .dirname (__file__ ), 'Channel1-01-A-01.tif' )
56
- url = "file:" + pathname2url (path ). encode ( "utf-8" )
56
+ url = "file:" + pathname2url (path )
57
57
image , scale = load_image_url (
58
58
url , rescale = False , wants_max_intensity = True )
59
59
self .assertEqual (image .shape [0 ], 640 )
@@ -71,7 +71,7 @@ def test_01_03_unicode_url(self):
71
71
# raise an exception when converting URL to string
72
72
#
73
73
path = os .path .join (os .path .dirname (__file__ ), 'Channel1-01-A-01.tif' )
74
- url = "file:" + pathname2url (path ). encode ( "utf-8" )
74
+ url = "file:" + pathname2url (path )
75
75
image , scale = load_image_url (
76
76
url , rescale = False , wants_max_intensity = True )
77
77
self .assertEqual (image .shape [0 ], 640 )
You can’t perform that action at this time.
0 commit comments