diff --git a/tests/test_daq.py b/tests/test_daq.py
index 090fe14a767559bf8f59867172f7256760152255..01f43049dc649fd8eb3774c2bc773e98afcc15da 100644
--- a/tests/test_daq.py
+++ b/tests/test_daq.py
@@ -390,8 +390,8 @@ class TestSummaryslices(unittest.TestCase):
         for dom_id, fifo_flags in dct_fifo_flags.items():
             frame = s[s.dom_id == dom_id]
             assert any([
-                a == b for a, b in zip(
-                    get_channel_flags(frame.fifo[0]), fifo_flags)
+                a == b
+                for a, b in zip(get_channel_flags(frame.fifo[0]), fifo_flags)
             ])