Commit 533442e1 authored by Joseph Weston's avatar Joseph Weston
Browse files

add clarifying comment to test for warnings

parent 36a52fde
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment