projects
/
mudpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a4a8dc
)
Handle early wrapping in test_show_result
author
Jeremy Stanley
<fungi@yuggoth.org>
Sat, 19 Sep 2020 14:29:59 +0000
(14:29 +0000)
committer
Jeremy Stanley
<fungi@yuggoth.org>
Sat, 19 Sep 2020 14:29:59 +0000
(14:29 +0000)
When showing a Python module object, the included file path can
easily be long enough to wrap to the next line. Allow for line
breaks immediately before it in the test_show_result test where it
sometimes surfaces.
mudpy/tests/selftest.py
patch
|
blob
|
history
diff --git
a/mudpy/tests/selftest.py
b/mudpy/tests/selftest.py
index
f576532
..
6e130c3
100644
(file)
--- a/
mudpy/tests/selftest.py
+++ b/
mudpy/tests/selftest.py
@@
-336,7
+336,7
@@
test_show_result = (
(2, r"\r\n838102050\r\n.*> ", "show result 1/0"),
(2, r"Your expression raised an exception.*division by zero.*> ",
"show result mudpy"),
- (2, r"<module 'mudpy' from
.*> ", "show result re"),
+ (2, r"<module 'mudpy' from.*> ", "show result re"),
(2, r"Your expression raised an exception.*name 're' is not defined.*> ",
"show result universe"),
(2, r"<mudpy\.misc\.Universe object at 0x.*> ", "show result actor"),