mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-09 11:33:41 +08:00
BUG: More Python3 fixes by Christoph Gohlke.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import numpy as np
|
||||
import _colormixer
|
||||
import _histograms
|
||||
from . import _colormixer
|
||||
from . import _histograms
|
||||
import threading
|
||||
|
||||
# utilities to make life easier for plugin writers.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
import os.path
|
||||
|
||||
import numpy as np
|
||||
@@ -7,6 +8,10 @@ from scikits.image import data_dir
|
||||
from scikits.image.io import ImageCollection, MultiImage
|
||||
|
||||
|
||||
if sys.version_info[0] > 2:
|
||||
basestring = str
|
||||
|
||||
|
||||
class TestImageCollection():
|
||||
pattern = [os.path.join(data_dir, pic) for pic in ['camera.png',
|
||||
'color.png']]
|
||||
|
||||
Reference in New Issue
Block a user