Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pycodegen
lbmpy
Commits
678cadb6
Commit
678cadb6
authored
Jan 16, 2020
by
Martin Bauer
Browse files
dbg output
parent
a416915f
Pipeline
#21222
canceled with stages
in 27 minutes and 56 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
678cadb6
...
...
@@ -24,11 +24,15 @@ class SimpleTestRunner(distutils.cmd.Command):
@
staticmethod
def
_run_tests_in_module
(
test
):
"""Short test runner function - to work also if py.test is not installed."""
print
(
"at start"
)
test
=
'lbmpy_tests.'
+
test
mod
,
function_name
=
test
.
rsplit
(
'.'
,
1
)
if
isinstance
(
mod
,
str
):
print
(
"before import "
,
mod
)
mod
=
import_module
(
mod
)
print
(
"after import "
,
mod
)
print
(
"before getattr"
)
func
=
getattr
(
mod
,
function_name
)
print
(
" -> %s in %s"
%
(
function_name
,
mod
.
__name__
))
with
redirect_stdout
(
io
.
StringIO
()):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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