Skip to content

Commit

Permalink
Remove call at end of future_div_op.py (test_example.py calls all tes…
Browse files Browse the repository at this point in the history
…ts).

future_div_op.py: fix test name.
test_example.py: sort tests (so easy to check a particular test is present).
  • Loading branch information
bradbell committed May 29, 2014
1 parent c5f328a commit 7d01263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions example/future_div_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -28,5 +28,3 @@ def pycppad_test_div_op() :
assert tmp5 == x / y

# END CODE

pycppad_test_div_op()
2 changes: 1 addition & 1 deletion test_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down

0 comments on commit 7d01263

Please sign in to comment.