diff --git a/LICENSE b/LICENSE
index 3cc6b123e0f04bfcebdedc902ee5928ef3350da7..461f0905ff7765507faf6a73d70bc1143d995f14 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 MIT License
 
-Copyright (c) 2020-2022, Oscar Gustafsson et al
+Copyright (c) 2020-2025, Oscar Gustafsson et al
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff --git a/test/test_core_operations.py b/test/test_core_operations.py
index 6ed00f45ed666e698ac49fcc02c00bc4daf8e4ca..1a5f367b07bfb9d9a3bf6d3d70f7b1a53901db90 100644
--- a/test/test_core_operations.py
+++ b/test/test_core_operations.py
@@ -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])
diff --git a/test/test_simulation_gui.py b/test/test_simulation_gui.py
index cd7599e604e9f04a141f04e8c985aadfa822fb6e..177fb11fb15a09c3e4ed6da58416767881f8c817 100644
--- a/test/test_simulation_gui.py
+++ b/test/test_simulation_gui.py
@@ -7,6 +7,7 @@ except ImportError:
     pytestmark = pytest.mark.skip("Qt not setup")
 
 
+@pytest.mark.filterwarnings("ignore:No artists with labels found to put in legend")
 def test_start(qtbot):
     widget = PlotWindow({})
     qtbot.addWidget(widget)
@@ -28,6 +29,7 @@ def test_start_with_data(qtbot):
     assert len(widget._plot_axes.lines) == 1
 
 
+@pytest.mark.filterwarnings("ignore:No artists with labels found to put in legend")
 def test_click_buttons(qtbot):
     sim_res = {
         '0': [0.5, 0.5, 0, 0],