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:
@@ -3,13 +3,18 @@
|
||||
from __future__ import with_statement
|
||||
|
||||
import os
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
import numpy as np
|
||||
from numpy.testing import *
|
||||
|
||||
from scikits.image import data_dir
|
||||
import cPickle
|
||||
|
||||
if sys.version_info[0] < 3:
|
||||
import cPickle
|
||||
else:
|
||||
import pickle as cPickle
|
||||
|
||||
with warnings.catch_warnings():
|
||||
warnings.simplefilter("ignore")
|
||||
|
||||
Reference in New Issue
Block a user