diff --git a/kwant/tests/test_qsymm.py b/kwant/tests/test_qsymm.py
index d3f028a32ff4755b19f9c9a9305bd8945ddb38db..bf7e45d31286b30e5dcbd12247db96bbc279b6b0 100644
--- a/kwant/tests/test_qsymm.py
+++ b/kwant/tests/test_qsymm.py
@@ -481,7 +481,7 @@ def test_find_cons_law():
                isinstance(symm, qsymm.ContinuousGroupGenerator) and symm.R is None]
     mham = builder_to_model(syst)
     assert all([symm.apply(mham).allclose(0, atol=1e-6) for symm in onsites])
-    
+
 
 def test_basis_ordering():
     symm_class = ['AI', 'D', 'AIII', 'BDI']