diff --git a/src/tests/test_analysis/test_cavity/test_linewidth.py b/src/tests/test_analysis/test_cavity/test_linewidth.py
index fc80b8e337d3ecec35dadf2fedaec1916084f61a..796ea40f7f6e8a872fc73d087bd1fa4cd4e71c2e 100644
--- a/src/tests/test_analysis/test_cavity/test_linewidth.py
+++ b/src/tests/test_analysis/test_cavity/test_linewidth.py
@@ -2,7 +2,7 @@ from unittest import TestCase
 
 import matplotlib.pyplot as plt
 
-from openqlab import analysis, io
+from openqlab import io
 from openqlab.analysis.cavity import linewidth