Skip to content
Snippets Groups Projects

Ignored unneccecary warnings in tests and updated LICENCE file

Merged Simon Bjurek requested to merge address-test-warnings into master
3 files
+ 8
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -413,9 +413,10 @@ class TestSink:
bfly = Butterfly()
sfg = bfly.to_sfg()
s = Sink()
sfg1 = sfg.replace_operation(s, "out0")
with pytest.warns(UserWarning, match="Output port out0 has been removed"):
sfg1 = sfg.replace_operation(s, "out0")
assert sfg1.output_count == 1
assert sfg1.input_count == 2
assert sfg1.output_count == 1
assert sfg1.input_count == 2
assert sfg.evaluate_output(1, [0, 1]) == sfg1.evaluate_output(0, [0, 1])
assert sfg.evaluate_output(1, [0, 1]) == sfg1.evaluate_output(0, [0, 1])
Loading