Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jdurrant
binana
Commits
1482d108
Commit
1482d108
authored
Nov 30, 2021
by
jdurrant
Browse files
Minor fix to tests.
parent
4ef4d88e
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/binana/_test/__init__.py
View file @
1482d108
...
...
@@ -26,7 +26,7 @@ def _remove_lines_with_pass(txt):
txt
=
re
.
sub
(
r
"^ +?"
+
val
+
r
".+?\n"
,
""
,
txt
,
flags
=
re
.
M
|
re
.
S
)
# "Rounds" numbers (to account for minor system differences)
txt
=
re
.
sub
(
r
"([0-9]\.[0-9]{4})[0-9]{1,15}
,
"
,
r
"\1"
,
txt
)
txt
=
re
.
sub
(
r
"([0-9]\.[0-9]{4})[0-9]{1,15}"
,
r
"\1"
,
txt
)
return
txt
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment