From 3ede926beb46887106b212ec2d7228e7886c229a Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Fri, 18 Oct 2024 14:44:55 +0200 Subject: [PATCH] move `ujson` to top-level --- virtualizarr/tests/test_readers/test_kerchunk.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/virtualizarr/tests/test_readers/test_kerchunk.py b/virtualizarr/tests/test_readers/test_kerchunk.py index d7c0a3a9..50d4b19b 100644 --- a/virtualizarr/tests/test_readers/test_kerchunk.py +++ b/virtualizarr/tests/test_readers/test_kerchunk.py @@ -1,4 +1,5 @@ import numpy as np +import ujson from virtualizarr.manifests import ManifestArray from virtualizarr.readers.kerchunk import ( @@ -45,8 +46,6 @@ def test_dataset_from_df_refs(): def test_dataset_from_df_refs_with_filters(): - import ujson - filters = [{"elementsize": 4, "id": "shuffle"}, {"id": "zlib", "level": 4}] zarray = { "chunks": [2, 3],