Skip to content

Commit 39a66c9

Browse files
committed
test fixes
1 parent 10531ee commit 39a66c9

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

zarr/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ class SynchronizedArray(Array):
823823
>>> synchronizer = zarr.ThreadSynchronizer()
824824
>>> z = zarr.SynchronizedArray(store, synchronizer)
825825
>>> z
826-
zarr.sync.SynchronizedArray((1000,), float64, chunks=(100,), order=C)
826+
zarr.core.SynchronizedArray((1000,), float64, chunks=(100,), order=C)
827827
compression: blosc; compression_opts: {'clevel': 5, 'cname': 'lz4', 'shuffle': 1}
828828
nbytes: 7.8K; nbytes_stored: 285; ratio: 28.1; initialized: 0/10
829829
store: builtins.dict; synchronizer: zarr.sync.ThreadSynchronizer

zarr/creation.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import, print_function, division
3-
import os
43

54

65
import numpy as np
76

87

9-
from zarr.core import Array
10-
from zarr.sync import SynchronizedArray
11-
from zarr.storage import DirectoryStore, init_array, contains_array, contains_group
8+
from zarr.core import Array, SynchronizedArray
9+
from zarr.storage import DirectoryStore, init_array, contains_array, \
10+
contains_group
1211

1312

1413
def create(shape, chunks=None, dtype=None, compression='default',

zarr/tests/test_creation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
from zarr.creation import array, empty, zeros, ones, full, open_array, \
1515
empty_like, zeros_like, ones_like, full_like, open_like, create
16-
from zarr.sync import ThreadSynchronizer, SynchronizedArray
17-
from zarr.core import Array
16+
from zarr.sync import ThreadSynchronizer
17+
from zarr.core import Array, SynchronizedArray
1818
from zarr.storage import DirectoryStore
1919
from zarr.hierarchy import open_group
2020
from zarr.errors import ReadOnlyError

0 commit comments

Comments
 (0)