Skip to content

Commit ccdbc19

Browse files
alexmalyshevmeta-codesync[bot]
authored andcommitted
Fix JIT preload test after Imports Monitor change
Summary: Stderr is now logging Scuba links for Imports Monitor, this can't assert on the entire contents of stderr. Reviewed By: yoney Differential Revision: D83873217 fbshipit-source-id: c340b3b7c4bd831eab0955785c9e65e793057dae
1 parent f3faed6 commit ccdbc19

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cinderx/PythonLib/test_cinderx/test_jit_preload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ def test_error_preloading_inlined(self) -> None:
125125
)
126126
# We expect an exception, but not a crash!
127127
self.assertEqual(proc.returncode, 1, proc.stderr)
128-
self.assertEqual(
129-
proc.stderr.decode().splitlines()[-1],
128+
self.assertIn(
130129
"RuntimeError: boom",
130+
proc.stderr.decode(),
131131
proc.stderr,
132132
)

0 commit comments

Comments
 (0)