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
Markus Holzer
pystencils
Commits
9ab2ea6d
Commit
9ab2ea6d
authored
Mar 27, 2022
by
Markus Holzer
Browse files
Remove timeloop test
parent
7ba57eb2
Pipeline
#38741
passed with stages
in 24 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pystencils_tests/test_timeloop.py
View file @
9ab2ea6d
...
...
@@ -59,4 +59,6 @@ def test_timeloop():
timeloop
.
run_time_span
(
seconds
=
seconds
)
end
=
time
.
perf_counter
()
np
.
testing
.
assert_almost_equal
(
seconds
,
end
-
start
,
decimal
=
2
)
# This test case fails often due to time measurements. It is not a good idea to assert here
# np.testing.assert_almost_equal(seconds, end - start, decimal=2)
print
(
"timeloop: "
,
seconds
,
" own meassurement: "
,
end
-
start
)
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