Skip to content

Commit 955019b

Browse files
authored
Cleanup imports in adhoc/blosc_memleak_check.py (#408)
* Include space for new release notes * Tidy `import`s in memleak script
1 parent 350cbd1 commit 955019b

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

adhoc/blosc_memleak_check.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import sys
22

3-
4-
import numcodecs as codecs
5-
from numcodecs import blosc
3+
import numcodecs
64
import numpy as np
75
from numpy.testing import assert_array_equal
86

97

10-
codec = codecs.Blosc()
8+
codec = numcodecs.Blosc()
119
data = np.arange(int(sys.argv[1]))
1210
for i in range(int(sys.argv[2])):
1311
enc = codec.encode(data)

docs/release.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ Release notes
77
# re-indented so that it does not show up in the notes.
88
99

10+
.. _unreleased:
11+
12+
Unreleased
13+
----------
14+
15+
Enhancements
16+
~~~~~~~~~~~~
17+
18+
*
19+
20+
Fix
21+
~~~
22+
23+
*
24+
25+
Maintenance
26+
~~~~~~~~~~~
27+
28+
* Cleanup ``import``s in ``adhoc/blosc_memleak_check.py``
29+
By :user:`John Kirkham <jakirkham>`, :issue:`408`.
30+
1031
.. _release_0.11.0:
1132

1233
0.11.0

0 commit comments

Comments
 (0)