projects
/
mudpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd0dd65
)
Fix deprecated regex pattern syntax in selftests
author
Jeremy Stanley
<fungi@yuggoth.org>
Sun, 15 Jul 2018 19:06:22 +0000
(19:06 +0000)
committer
Jeremy Stanley
<fungi@yuggoth.org>
Sun, 15 Jul 2018 19:06:22 +0000
(19:06 +0000)
A deprecated (non-raw with escape sequences) regular expression
string went unnoticed in a recent commit, so this change fixes it to
be ready for eventual Python 3.8.
mudpy/tests/selftest.py
patch
|
blob
|
history
diff --git
a/mudpy/tests/selftest.py
b/mudpy/tests/selftest.py
index
fa96ad0
..
bc87885
100644
(file)
--- a/
mudpy/tests/selftest.py
+++ b/
mudpy/tests/selftest.py
@@
-186,7
+186,7
@@
test_reload = (
r".* User admin reloaded the world\.",
"show element account.admin"),
(2, 'These are the properties of the "account.admin" element.*'
-
" \x1b\[32mpasshash:\r\n\x1b\[31m\$.*> "
, ""),
+
r' \x1b\[32mpasshash:\r\n\x1b\[31m\$.*> '
, ""),
)
test_set_facet = (