diff --git a/.github/workflows/cibuildwheels.yml b/.github/workflows/cibuildwheels.yml index 986af5c..fa5a874 100644 --- a/.github/workflows/cibuildwheels.yml +++ b/.github/workflows/cibuildwheels.yml @@ -52,7 +52,7 @@ jobs: python -m pip install cibuildwheel python -m cibuildwheel --output-dir wheelhouse env: - CIBW_BUILD: 'cp39-win32 cp310-win32 cp311-win32 cp312-win32, cp313-win32' + CIBW_BUILD: 'cp39-win32 cp310-win32 cp311-win32 cp312-win32 cp313-win32' CIBW_BEFORE_BUILD: pip install -r requirements.txt CIBW_BEFORE_TEST: pip install numpy CIBW_TEST_COMMAND: python -m blosc.test diff --git a/blosc/toplevel.py b/blosc/toplevel.py index 4d2d413..3ef2327 100644 --- a/blosc/toplevel.py +++ b/blosc/toplevel.py @@ -513,7 +513,7 @@ def compress_ptr(address, items, typesize=8, clevel=9, shuffle=blosc.SHUFFLE, >>> c = blosc.compress_ptr(np_array.__array_interface__['data'][0], \ items, np_array.dtype.itemsize) >>> d = blosc.decompress(c) - >>> np_ans = numpy.fromstring(d, dtype=np_array.dtype) + >>> np_ans = numpy.frombuffer(d, dtype=np_array.dtype) >>> bool((np_array == np_ans).all()) True