summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/tests/test_records.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/tests/test_records.py b/numpy/core/tests/test_records.py
index 8f1fdda1a..87c661938 100644
--- a/numpy/core/tests/test_records.py
+++ b/numpy/core/tests/test_records.py
@@ -43,6 +43,7 @@ class TestFromrecords(TestCase):
r = np.rec.fromfile(fd, formats='f8,i4,a5', shape=3, byteorder='big')
fd.seek(2880 * 2)
r = np.rec.array(fd, formats='f8,i4,a5', shape=3, byteorder='big')
+ fd.close()
def test_recarray_from_obj(self):
count = 10