Skip to content

Commit

Permalink
Fix more Python nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
mojaveazure committed Dec 18, 2024
1 parent 16f711d commit 941745f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apis/system/tests/test_character_write_python_read_r.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ class TestCharacterMetadataWritePythonReadR(TestWritePythonReadR):

@pytest.fixture(scope="class")
def experiment(self):
_ = tiledbsoma.Experiment.create(self.uri)
exp = tiledbsoma.Experiment.create(self.uri)
exp.close

def base_R_script(self):
return f"""
Expand All @@ -21,7 +22,7 @@ def base_R_script(self):
md <- exp$get_metadata()
"""

def test_r_character(self):
def test_r_character(self, experiment):
self.r_assert(
"stopifnot(all(vapply(md, \(x) is.character(x$name), logical(1L))))"
)

0 comments on commit 941745f

Please sign in to comment.