Skip to content

Commit 9ac79fb

Browse files
author
Codeflash Bot
committed
only capturing for dummy_fn but not tpsort
1 parent 9a9fc1d commit 9ac79fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_unit_test_discovery.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,9 @@ class Graph:
729729
def __init__(self, vertices: int):
730730
self.vertices=vertices
731731
732+
def dummy_fn(self):
733+
return 1
734+
732735
def topologicalSort(self):
733736
return self.vertices
734737
@@ -746,6 +749,7 @@ def g(self):
746749
return Graph(6)
747750
748751
def test_topological_sort(g):
752+
assert g.dummy_fn() == 1
749753
assert g.topologicalSort() == 6
750754
"""
751755
test_file_path.write_text(test_file_content)

0 commit comments

Comments
 (0)