Skip to content

Commit

Permalink
Merge pull request #14 from jakirkham/use_np_113_print_style_doctests
Browse files Browse the repository at this point in the history
Use NumPy 1.13 legacy print mode in doctests
  • Loading branch information
jakirkham committed Nov 8, 2018
2 parents dd9b684 + 66941ac commit a6f77e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion environment_ci.yml
Expand Up @@ -8,4 +8,4 @@ dependencies:
- wheel==0.29.0
- coverage==3.7.1
- python-coveralls==2.5.0
- numpy==1.12.0
- numpy==1.15.4
3 changes: 3 additions & 0 deletions xnumpy/core.py
Expand Up @@ -38,6 +38,9 @@ def expand(new_array,
tiling in various dimension.
Examples:
>>> numpy.set_printoptions(legacy="1.13")
>>> a = numpy.arange(6, dtype=numpy.uint64).reshape(2,3)
>>> a
array([[0, 1, 2],
Expand Down

0 comments on commit a6f77e4

Please sign in to comment.