diff --git a/example/future_div_op.py b/example/future_div_op.py index 2d51faa..2b80214 100644 --- a/example/future_div_op.py +++ b/example/future_div_op.py @@ -13,7 +13,7 @@ # Example using a_float ------------------------------------------------------ from __future__ import division from pycppad import * -def pycppad_test_div_op() : +def pycppad_test_future_div_op() : x = 2. y = 3. # @@ -28,5 +28,3 @@ def pycppad_test_div_op() : assert tmp5 == x / y # END CODE - -pycppad_test_div_op() diff --git a/test_example.py b/test_example.py index b5565e5..6b4dc10 100755 --- a/test_example.py +++ b/test_example.py @@ -12,7 +12,7 @@ module = file_name[:-3] exec('from ' + module + ' import *') # -list_of_globals = globals().keys() +list_of_globals = sorted( globals().keys() ) number_ok = 0 number_fail = 0 for name in list_of_globals :