Skip to content

Commit 82657aa

Browse files
committed
spell
1 parent 90c9064 commit 82657aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_unittests/ut_xrun_doc/test_command_lines_exe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_parser_stats(self):
2424
output = self.get_dump_file("test_parser_stats.xlsx")
2525
st = StringIO()
2626
with redirect_stdout(st):
27-
main(["stats", "-i", self.dummy_path, "-o", output])
27+
main(["stats", "-i", self.dummy_path, "-o", output, "-r", ".*"])
2828
text = st.getvalue()
2929
self.assertIn("processing", text)
3030
self.assertExists(output)

onnx_diagnostic/_command_lines_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def _cmd_stats(argv: List[Any]):
499499
reg = re.compile(args.regex) if args.regex else None
500500
data = []
501501
for index, (name, init) in enumerate(iterator_initializer_constant(onx)):
502-
if reg and not reg.seach(name):
502+
if reg and not reg.search(name):
503503
continue
504504
if index < args.begin:
505505
continue

0 commit comments

Comments
 (0)