mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-52828: Click to see the difference for assertpy
Merge-request: IJ-MR-174413 Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com> GitOrigin-RevId: fbdd9ffb043f04a33a2cf47b7fa5df3137a5ce6a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
10f431d0d3
commit
10f4117bca
@@ -255,6 +255,12 @@ class EchoTeamCityMessages(object):
|
||||
if self.swap_diff:
|
||||
left, right = right, left
|
||||
diff_error = diff_tools.EqualsAssertionError(expected=right, actual=left)
|
||||
else:
|
||||
if m := re.search("AssertionError: Expected <(.*)> to .*? <(.*)>, but .*", err_message):
|
||||
left, right = m.group(1), m.group(2)
|
||||
if self.swap_diff:
|
||||
left, right = right, left
|
||||
diff_error = diff_tools.EqualsAssertionError(expected=right, actual=left)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user