diff options
| author | Simon Graham <simon.graham@seequent.com> | 2020-10-29 15:51:23 +1300 |
|---|---|---|
| committer | Simon Graham <simon.graham@seequent.com> | 2020-10-29 16:28:27 +1300 |
| commit | ef18ad103f4dfbe7bbf8adef12670174e0e8e9cf (patch) | |
| tree | 6aeb66e75ab9fa484ec4703b3bba540b46068cbd /numpy/array_api/_creation_functions.py | |
| parent | b37800fb917c2b117ead38a8d0a9c47679baa928 (diff) | |
| download | numpy-ef18ad103f4dfbe7bbf8adef12670174e0e8e9cf.tar.gz | |
TST: Check that tofile closes its Python handle when we pass it a str.
If we pass a str to tofile() rather than an open file object, it will open a Python handle. Make sure that it gets closed correctly.
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions
