Skip to content

Commit 8ce1ce0

Browse files
author
Nikolay Kondratyev
committed
Fix test line matching
1 parent f7eadb7 commit 8ce1ce0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing/test_doctest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def some_property(self):
308308
result.stdout.fnmatch_lines(
309309
[
310310
"*= FAILURES =*",
311-
"*_ [doctest] test_doctest_linedata_on_property.Sample.some_property _*",
311+
"*_ [[]doctest[]] test_doctest_linedata_on_property.Sample.some_property _*",
312312
"004 ",
313313
"005 >>> Sample().some_property",
314314
"Expected:",
@@ -339,9 +339,9 @@ def some_property(self):
339339
result.stdout.fnmatch_lines(
340340
[
341341
"*= FAILURES =*",
342-
"*_ [doctest] test_doctest_no_linedata_on_overriden_property.Sample.some_property _*",
342+
"*_ [[]doctest[]] test_doctest_no_linedata_on_overriden_property.Sample.some_property _*",
343343
"EXAMPLE LOCATION UNKNOWN, not showing all tests of that example",
344-
"??? >>> Sample().some_property",
344+
"[?][?][?] >>> Sample().some_property",
345345
"Expected:",
346346
" 'another thing'",
347347
"Got:",

0 commit comments

Comments
 (0)