Skip to content

Commit 970eb26

Browse files
test conversion
1 parent 5980a20 commit 970eb26

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/test_conversion.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ out = String(take!(io))
2020
@test "lon" in CDM.dimnames(ds)
2121

2222

23-
24-
#=
2523
tmp_filename = tempname()
2624
NCDatasets.write(tmp_filename,ds)
2725

@@ -37,4 +35,3 @@ dsnc = NCDatasets.Dataset(tmp_filename)
3735

3836
close(dsnc)
3937
# close(ds)
40-
=#

test/test_empty.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@ dd = DummyEmptyDataset();
1919
@test CDM.path(dd) == ""
2020

2121
@test CDM.groupnames(dd) == ()
22-
@test_throws "no group" CDM.group(dd,"does_not_exist")
23-
@test_throws "unimplemented" CDM.defGroup(dd,"does_not_exist")
22+
# not available in julia 1.6
23+
#@test_throws "no group" CDM.group(dd,"does_not_exist")
24+
#@test_throws "unimplemented" CDM.defGroup(dd,"does_not_exist")
25+
@test_throws Exception CDM.group(dd,"does_not_exist")
26+
@test_throws Exception CDM.defGroup(dd,"does_not_exist")

0 commit comments

Comments
 (0)