Skip to content
Snippets Groups Projects
Commit 533442e1 authored by Joseph Weston's avatar Joseph Weston
Browse files

add clarifying comment to test for warnings

parent 36a52fde
No related branches found
No related tags found
No related merge requests found
......@@ -715,6 +715,7 @@ def test_fill():
target = builder.Builder()
added_sites = target.fill(template_1d, line_200, g(0, 0))
assert len(added_sites) == 200
# raise warning if target already contains all starting sites
with warns(RuntimeWarning):
target.fill(template_1d, line_200, g(0, 0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment