File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def tearDown(self):
5353
5454 def test_01_01_open_file (self ):
5555 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 )
5757 image , scale = load_image_url (
5858 url , rescale = False , wants_max_intensity = True )
5959 self .assertEqual (image .shape [0 ], 640 )
@@ -71,7 +71,7 @@ def test_01_03_unicode_url(self):
7171 # raise an exception when converting URL to string
7272 #
7373 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 )
7575 image , scale = load_image_url (
7676 url , rescale = False , wants_max_intensity = True )
7777 self .assertEqual (image .shape [0 ], 640 )
You can’t perform that action at this time.
0 commit comments