Commit a4572ec9 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Make numpy tests run on my doctest

parent 9035ac46
...@@ -14,15 +14,15 @@ try: ...@@ -14,15 +14,15 @@ try:
>>> three_dim() >>> three_dim()
[[[ 0. 1. 2. 3.] [[[ 0. 1. 2. 3.]
[ 4. 5. 6. 7.]] [ 4. 5. 6. 7.]]
<BLANKLINE>
[[ 8. 9. 10. 11.] [[ 8. 9. 10. 11.]
[ 12. 13. 14. 15.]] [ 12. 13. 14. 15.]]
<BLANKLINE>
[[ 16. 17. 18. 19.] [[ 16. 17. 18. 19.]
[ 20. 21. 22. 23.]]] [ 20. 21. 22. 23.]]]
6.0 0.0 13.0 8.0 6.0 0.0 13.0 8.0
>>> tnumpy.obj_array() >>> obj_array()
[a 1 {}] [a 1 {}]
a 1 {} a 1 {}
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment