diff --git a/tests/test_jungfraulib.py b/tests/test_jungfraulib.py
index 809976c7b9a1ebf9af446d2eecf273e9abf0ba70..c8ce1a35eba4b646219305e801499347d109a182 100644
--- a/tests/test_jungfraulib.py
+++ b/tests/test_jungfraulib.py
@@ -6,7 +6,6 @@ from cal_tools.enums import BadPixels
 from cal_tools.jungfraulib import (
     JungfrauCtrl,
     replace_pixels_gain_values,
-    replace_pixels_wrong_gain_badpixel,
     sort_runs_by_gain,
 )