Skip to content
This repository was archived by the owner on Sep 24, 2021. It is now read-only.

Commit 834692a

Browse files
committed
Fixed oct2py import, py3k bug, and matlab toolbox directory.
1 parent 7a089ba commit 834692a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

gsw/test/test_octave.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
import numpy as np
2525

2626
from oct2py import octave
27-
from oct2py._utils import Oct2PyError
27+
from oct2py import Oct2PyError
2828

2929
import gsw
3030

3131
try:
3232
path = sys.argv[1]
3333
except IndexError:
34-
path = "./matlab_gsw_v3_03"
34+
path = "gsw_matlab_v3_04"
3535

3636

3737
# We have to supply a fake superiorfloat function for octave.
@@ -193,7 +193,7 @@ def compare_results(name, function, args):
193193
outcomes = ['passed', 'no_octave', 'no_python', 'failed', 'no_comparison']
194194
results = dict([(k, list()) for k in outcomes])
195195

196-
for name, (function, args) in library.iteritems():
196+
for name, (function, args) in library.items():
197197
ret = compare_results(name=name, function=function, args=args)
198198
results[ret].append(name)
199199

0 commit comments

Comments
 (0)