Skip to content

Commit 3ff7505

Browse files
committed
修复异常输出问题
1 parent cd3dfb9 commit 3ff7505

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cyaron/compare.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ def __init__(self, name, mismatch):
1515
super(CompareMismatch, self).__init__(name, mismatch)
1616
self.name = name
1717
self.mismatch = mismatch
18+
19+
def __str__(self):
20+
return self.mismatch.__str__()
1821

1922

2023
class Compare:

0 commit comments

Comments
 (0)