Skip to content

Commit 09d6866

Browse files
author
Vincent Moens
committed
[BugFix] Fix call to tree.plot in tests
ghstack-source-id: 4a5babb Pull Request resolved: #2547
1 parent 218d5bf commit 09d6866

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_storage_map.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,9 @@ def test_forest_build(self):
381381
r0, *_ = self.dummy_rollouts()
382382
forest = self._make_forest()
383383
tree = forest.get_tree(r0[0])
384-
tree.plot(make_labels=self.make_labels)
384+
for leaf in tree.vertices().values():
385+
assert leaf in tree
386+
# tree.plot(make_labels=self.make_labels)
385387

386388
def test_forest_vertices(self):
387389
r0, *_ = self.dummy_rollouts()

0 commit comments

Comments
 (0)