Skip to content

Commit

Permalink
Cleanup imports in adhoc/blosc_memleak_check.py (#408)
Browse files Browse the repository at this point in the history
* Include space for new release notes

* Tidy `import`s in memleak script
  • Loading branch information
jakirkham committed Dec 16, 2022
1 parent 350cbd1 commit 955019b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
6 changes: 2 additions & 4 deletions adhoc/blosc_memleak_check.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import sys


import numcodecs as codecs
from numcodecs import blosc
import numcodecs
import numpy as np
from numpy.testing import assert_array_equal


codec = codecs.Blosc()
codec = numcodecs.Blosc()
data = np.arange(int(sys.argv[1]))
for i in range(int(sys.argv[2])):
enc = codec.encode(data)
Expand Down
21 changes: 21 additions & 0 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,27 @@ Release notes
# re-indented so that it does not show up in the notes.

.. _unreleased:

Unreleased
----------

Enhancements
~~~~~~~~~~~~

*

Fix
~~~

*

Maintenance
~~~~~~~~~~~

* Cleanup ``import``s in ``adhoc/blosc_memleak_check.py``
By :user:`John Kirkham <jakirkham>`, :issue:`408`.

.. _release_0.11.0:

0.11.0
Expand Down

0 comments on commit 955019b

Please sign in to comment.