Skip to content

Commit c0bb8be

Browse files
committed
Remove xfails for put_strings added in #520
1 parent 3f40842 commit c0bb8be

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

pygmt/tests/test_clib.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,6 @@ def test_virtualfile_from_vectors():
402402
assert output == expected
403403

404404

405-
@pytest.mark.xfail(
406-
condition=gmt_version < Version("6.1.1"),
407-
reason="GMT_Put_Strings only works for GMT 6.1.1 and above",
408-
)
409405
def test_virtualfile_from_vectors_one_string_column():
410406
"Test passing in one column with string dtype into virtual file dataset"
411407
size = 5
@@ -421,10 +417,6 @@ def test_virtualfile_from_vectors_one_string_column():
421417
assert output == expected
422418

423419

424-
@pytest.mark.xfail(
425-
condition=gmt_version < Version("6.1.1"),
426-
reason="GMT_Put_Strings only works for GMT 6.1.1 and above",
427-
)
428420
def test_virtualfile_from_vectors_two_string_columns():
429421
"Test passing in two columns of string dtype into virtual file dataset"
430422
size = 5
@@ -688,7 +680,7 @@ def test_get_default():
688680
with clib.Session() as lib:
689681
assert lib.get_default("API_GRID_LAYOUT") in ["rows", "columns"]
690682
assert int(lib.get_default("API_CORES")) >= 1
691-
assert Version(lib.get_default("API_VERSION")) >= Version("6.1.0")
683+
assert Version(lib.get_default("API_VERSION")) >= Version("6.1.1")
692684

693685

694686
def test_get_default_fails():

pygmt/tests/test_clib_put_strings.py

-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
gmt_version = Version(_lib.info["version"])
1515

1616

17-
@pytest.mark.xfail(
18-
condition=gmt_version < Version("6.1.1"),
19-
reason="GMT_Put_Strings only works for GMT 6.1.1 and above",
20-
)
2117
def test_put_strings():
2218
"Check that assigning a numpy array of dtype str to a dataset works"
2319
with clib.Session() as lib:

0 commit comments

Comments
 (0)