Skip to content

Commit d88accd

Browse files
committed
Pass a tuple of vectors to virtualfile_from_vectors
1 parent 6ad6eb9 commit d88accd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/tests/test_clib_virtualfile_from_vectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def test_virtualfile_from_vectors_one_string_or_object_column(array_func, dtype)
7676
y = np.arange(size, size * 2, 1, dtype=np.int32)
7777
strings = array_func(["a", "bc", "defg", "hijklmn", "opqrst"], **dtype)
7878
with clib.Session() as lib:
79-
with lib.virtualfile_from_vectors(x, y, strings) as vfile:
79+
with lib.virtualfile_from_vectors(vectors=(x, y, strings)) as vfile:
8080
with GMTTempFile() as outfile:
8181
lib.call_module("convert", [vfile, f"->{outfile.name}"])
8282
output = outfile.read(keep_tabs=True)

0 commit comments

Comments
 (0)