Skip to content

Commit c566436

Browse files
committed
modify existing test
1 parent f77611c commit c566436

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

codeflash/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# These version placeholders will be replaced by poetry-dynamic-versioning during `poetry build`.
2-
__version__ = "0.12.4"
3-
__version_tuple__ = (0, 12, 4)
2+
__version__ = "0.12.4.post15.dev0+246801dd"
3+
__version_tuple__ = (0, 12, 4, "post15", "dev0", "246801dd")

tests/test_trace_benchmarks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_code_to_optimize_bubble_sort_codeflash_trace_Sorter_sorter():
112112
ret = code_to_optimize_bubble_sort_codeflash_trace_Sorter(*args[1:], **kwargs)
113113
else:
114114
instance = args[0] # self
115-
ret = instance.sorter(*args[1:], **kwargs)
115+
ret = code_to_optimize_bubble_sort_codeflash_trace_Sorter.sorter(*args, **kwargs)
116116
117117
def test_code_to_optimize_bubble_sort_codeflash_trace_Sorter_sort_class():
118118
for args_pkl, kwargs_pkl in get_next_arg_and_return(trace_file=trace_file_path, benchmark_function_name="test_class_sort2", function_name="sort_class", file_path=r"{bubble_sort_path}", class_name="Sorter", num_to_get=100):
@@ -139,7 +139,7 @@ def test_code_to_optimize_bubble_sort_codeflash_trace_Sorter___init__():
139139
ret = code_to_optimize_bubble_sort_codeflash_trace_Sorter(*args[1:], **kwargs)
140140
else:
141141
instance = args[0] # self
142-
ret = instance(*args[1:], **kwargs)
142+
ret = code_to_optimize_bubble_sort_codeflash_trace_Sorter(*args, **kwargs)
143143
144144
"""
145145
assert test_class_sort_path.read_text("utf-8").strip()==test_class_sort_code.strip()

0 commit comments

Comments
 (0)