Skip to content

Commit 371ae4c

Browse files
committed
Merge remote-tracking branch 'origin/main' into line-profiler
2 parents 9ebbd61 + eaa30aa commit 371ae4c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

codeflash/verification/test_results.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TestType(Enum):
3333
INIT_STATE_TEST = 6
3434

3535
def to_name(self) -> str:
36-
if self == TestType.INIT_STATE_TEST:
36+
if self is TestType.INIT_STATE_TEST:
3737
return ""
3838
names = {
3939
TestType.EXISTING_UNIT_TEST: "⚙️ Existing Unit Tests",
@@ -166,6 +166,8 @@ def report_to_string(report: dict[TestType, dict[str, int]]) -> str:
166166
def report_to_tree(report: dict[TestType, dict[str, int]], title: str) -> Tree:
167167
tree = Tree(title)
168168
for test_type in TestType:
169+
if test_type is TestType.INIT_STATE_TEST:
170+
continue
169171
tree.add(
170172
f"{test_type.to_name()} - Passed: {report[test_type]['passed']}, Failed: {report[test_type]['failed']}"
171173
)

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.10.0"
3-
__version_tuple__ = (0, 10, 0)
2+
__version__ = "0.10.1"
3+
__version_tuple__ = (0, 10, 1)

0 commit comments

Comments
 (0)