BUG: More Python3 fixes by Christoph Gohlke.

This commit is contained in:
Stefan van der Walt
2011-03-14 17:06:22 +02:00
parent 4760fc3dd4
commit 082ff69549
6 changed files with 18 additions and 8 deletions
+6 -1
View File
@@ -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")