Skip to content

Commit

Permalink
TEST: Fixing test failing due to bad indent
Browse files Browse the repository at this point in the history
  • Loading branch information
jmichel-otb committed Jul 7, 2016
1 parent 0345b9e commit e8cb1ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autotest/gdrivers/pixfun.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def pixfun_sum_c():
if refds is None:
gdaltest.post_reason('Unable to open "%s" dataset.' % reffilename)
return 'fail'
refdata += refds.GetRasterBand(1).ReadAsArray(0, 0, 5, 6)
refdata += refds.GetRasterBand(1).ReadAsArray(0, 0, 5, 6)

if not numpy.alltrue(data == refdata):
return 'fail'
Expand Down Expand Up @@ -452,7 +452,7 @@ def pixfun_mul_r():
if refds is None:
gdaltest.post_reason('Unable to open "%s" dataset.' % reffilename)
return 'fail'
refdata *= refds.GetRasterBand(1).ReadAsArray()
refdata *= refds.GetRasterBand(1).ReadAsArray()

if not numpy.alltrue(data == refdata):
return 'fail'
Expand Down

0 comments on commit e8cb1ae

Please sign in to comment.