Skip to content

Commit

Permalink
Fix py3 for erio test
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Oct 13, 2017
1 parent 116e6e7 commit 02cc2fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/lib/CIME/SystemTests/erio.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _full_run(self, pio_type):
expect(self._stop_n > 0, "Bad STOP_N: {:d}".format(self._stop_n))

# Move to config_tests.xml once that's ready
rest_n = self._stop_n/2 + 1
rest_n = int(self._stop_n/2) + 1
self._case.set_value("REST_N", rest_n)
self._case.set_value("REST_OPTION", stop_option)
self._case.set_value("HIST_N", self._stop_n)
Expand All @@ -39,7 +39,7 @@ def _full_run(self, pio_type):
def _restart_run(self, pio_type, other_pio_type):
stop_option = self._case.get_value("STOP_OPTION")

rest_n = self._stop_n/2 + 1
rest_n = int(self._stop_n/2) + 1
stop_new = self._stop_n - rest_n
expect(stop_new > 0, "ERROR: stop_n value {:d} too short {:d} {:d}".format(stop_new,self._stop_n,rest_n))

Expand Down

0 comments on commit 02cc2fd

Please sign in to comment.