summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_format.py
diff options
context:
space:
mode:
authorJaime <jaime.frio@gmail.com>2015-12-20 07:35:41 +0100
committerJaime <jaime.frio@gmail.com>2015-12-20 07:35:41 +0100
commit144c34b8ecd051e05a93c6268290eadb1827afb0 (patch)
treec8a1a549e5a093a9433fe9a50a6e0e8bb5358ab1 /numpy/lib/tests/test_format.py
parente2bdaccba1a8691f9223b059b981b2890bb13b09 (diff)
parent8bc592fabf4a2b0bc76db996b1523330ba095be3 (diff)
downloadnumpy-144c34b8ecd051e05a93c6268290eadb1827afb0.tar.gz
Merge pull request #6867 from gfyoung/print_fixes
DOC: No Print Statements When Using print_function from __future__
Diffstat (limited to 'numpy/lib/tests/test_format.py')
-rw-r--r--numpy/lib/tests/test_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_format.py b/numpy/lib/tests/test_format.py
index 1bf65fa61..a091ef5b3 100644
--- a/numpy/lib/tests/test_format.py
+++ b/numpy/lib/tests/test_format.py
@@ -112,7 +112,7 @@ Test the header writing.
>>> for arr in basic_arrays + record_arrays:
... f = BytesIO()
... format.write_array_header_1_0(f, arr) # XXX: arr is not a dict, items gets called on it
- ... print repr(f.getvalue())
+ ... print(repr(f.getvalue()))
...
"F\x00{'descr': '|u1', 'fortran_order': False, 'shape': (0,)} \n"
"F\x00{'descr': '|u1', 'fortran_order': False, 'shape': ()} \n"