Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
1e051f1a
Commit
1e051f1a
authored
Jan 15, 2018
by
Davis King
Browse files
Made test work in python3
parent
077a3b60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
tools/python/test/test_array.py
tools/python/test/test_array.py
+6
-1
No files found.
tools/python/test/test_array.py
View file @
1e051f1a
...
@@ -3,7 +3,12 @@ try:
...
@@ -3,7 +3,12 @@ try:
import
cPickle
as
pickle
# Use cPickle on Python 2.7
import
cPickle
as
pickle
# Use cPickle on Python 2.7
except
ImportError
:
except
ImportError
:
import
pickle
import
pickle
from
types
import
FloatType
try
:
from
types
import
FloatType
except
ImportError
:
FloatType
=
float
from
pytest
import
raises
from
pytest
import
raises
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment