h5netcdf 1.4.0__py3-none-any.whl → 1.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of h5netcdf might be problematic. Click here for more details.
- h5netcdf/_version.py +2 -2
- h5netcdf/tests/test_h5netcdf.py +8 -2
- {h5netcdf-1.4.0.dist-info → h5netcdf-1.4.1.dist-info}/METADATA +1 -1
- {h5netcdf-1.4.0.dist-info → h5netcdf-1.4.1.dist-info}/RECORD +8 -8
- {h5netcdf-1.4.0.dist-info → h5netcdf-1.4.1.dist-info}/WHEEL +1 -1
- {h5netcdf-1.4.0.dist-info → h5netcdf-1.4.1.dist-info}/AUTHORS.txt +0 -0
- {h5netcdf-1.4.0.dist-info → h5netcdf-1.4.1.dist-info}/LICENSE +0 -0
- {h5netcdf-1.4.0.dist-info → h5netcdf-1.4.1.dist-info}/top_level.txt +0 -0
h5netcdf/_version.py
CHANGED
h5netcdf/tests/test_h5netcdf.py
CHANGED
|
@@ -2242,7 +2242,9 @@ def test_user_type_errors_new_api(tmp_local_or_remote_netcdf):
|
|
|
2242
2242
|
if tmp_local_or_remote_netcdf.startswith(remote_h5):
|
|
2243
2243
|
testcontext = pytest.raises(RuntimeError, match="Conflict")
|
|
2244
2244
|
else:
|
|
2245
|
-
testcontext = pytest.raises(
|
|
2245
|
+
testcontext = pytest.raises(
|
|
2246
|
+
(KeyError, TypeError), match="name already exists"
|
|
2247
|
+
)
|
|
2246
2248
|
with testcontext:
|
|
2247
2249
|
ds.create_enumtype(np.uint8, "enum_t", enum_dict2)
|
|
2248
2250
|
|
|
@@ -2290,7 +2292,9 @@ def test_user_type_errors_legacyapi(tmp_local_or_remote_netcdf):
|
|
|
2290
2292
|
if tmp_local_or_remote_netcdf.startswith(remote_h5):
|
|
2291
2293
|
testcontext = pytest.raises(RuntimeError, match="Conflict")
|
|
2292
2294
|
else:
|
|
2293
|
-
testcontext = pytest.raises(
|
|
2295
|
+
testcontext = pytest.raises(
|
|
2296
|
+
(KeyError, TypeError), match="name already exists"
|
|
2297
|
+
)
|
|
2294
2298
|
with testcontext:
|
|
2295
2299
|
ds.createEnumType(np.uint8, "enum_t", enum_dict1)
|
|
2296
2300
|
|
|
@@ -2704,6 +2708,8 @@ def test_complex_type_creation_errors(tmp_local_netcdf):
|
|
|
2704
2708
|
with pytest.raises(TypeError, match="data type 'c4' not understood"):
|
|
2705
2709
|
ds.createVariable("data", "c4", ("x",))
|
|
2706
2710
|
|
|
2711
|
+
if "complex256" not in np.sctypeDict:
|
|
2712
|
+
pytest.skip("numpy 'complex256' dtype not available")
|
|
2707
2713
|
with legacyapi.Dataset(tmp_local_netcdf, "w") as ds:
|
|
2708
2714
|
ds.createDimension("x", size=len(complex_array))
|
|
2709
2715
|
with pytest.raises(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
h5netcdf/__init__.py,sha256=Y0EBCcmlJctwl1kCmj7yLijTVy9AioBTr2091vInAtw,456
|
|
2
|
-
h5netcdf/_version.py,sha256=
|
|
2
|
+
h5netcdf/_version.py,sha256=oFZsPxoSsCY6D2DiWMSueNvMDRRQN5ssWrPdQtlLJ_o,411
|
|
3
3
|
h5netcdf/attrs.py,sha256=4IvV4ULLWkz4igFsvu9S2LB745wgUKrIdIuSeO5kpX8,3581
|
|
4
4
|
h5netcdf/core.py,sha256=5rjGhCTIHZKJ_yMHyvZHIPndPr1Em9CVzyiV5F9H3E8,62511
|
|
5
5
|
h5netcdf/dimensions.py,sha256=2g0p9DOAC0hhQ94spIAjWeKC1qyhzzO0s15xCFYSscM,7803
|
|
@@ -7,10 +7,10 @@ h5netcdf/legacyapi.py,sha256=MIZlht5Ad4hDFF1Slz2vXmKkgbv7Fhhf2YwNIe16Lfk,7682
|
|
|
7
7
|
h5netcdf/utils.py,sha256=6E-HAIE0ONMyL4SxI3oUyQvrDgDWifR5EPde91V9rT0,674
|
|
8
8
|
h5netcdf/tests/conftest.py,sha256=cI0BXKM_LRdsQ8vAl3vJ0r1ShGpNUfj2xOH6KmgfZHw,5034
|
|
9
9
|
h5netcdf/tests/pytest.ini,sha256=ruJxrLdCIA4bCPVuPQjxsLSlvVxuIsIakK6iQOmz-ak,107
|
|
10
|
-
h5netcdf/tests/test_h5netcdf.py,sha256=
|
|
11
|
-
h5netcdf-1.4.
|
|
12
|
-
h5netcdf-1.4.
|
|
13
|
-
h5netcdf-1.4.
|
|
14
|
-
h5netcdf-1.4.
|
|
15
|
-
h5netcdf-1.4.
|
|
16
|
-
h5netcdf-1.4.
|
|
10
|
+
h5netcdf/tests/test_h5netcdf.py,sha256=PIm6AW59QzQ3e8v4yzV3qpr5auR0g7CoNrAhbpxNxMA,106846
|
|
11
|
+
h5netcdf-1.4.1.dist-info/AUTHORS.txt,sha256=LTKzUh9o4Wc_oT3aFC48cyDCCP6tdm6VEV_6RrNy4uo,272
|
|
12
|
+
h5netcdf-1.4.1.dist-info/LICENSE,sha256=Xer1Jg8iL_n9Da0xt0S99blk6tsg9tee_JdgH1rWTjs,1505
|
|
13
|
+
h5netcdf-1.4.1.dist-info/METADATA,sha256=V281CIA-dE3OPxxAfzaE7NeYP9C9Lzwr_RyJv2OIxQM,13366
|
|
14
|
+
h5netcdf-1.4.1.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
15
|
+
h5netcdf-1.4.1.dist-info/top_level.txt,sha256=Fb_KIpOE6MBqjSvxV1Ay7oYce1mdmQ1pO9JQJPDeGqg,9
|
|
16
|
+
h5netcdf-1.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|