diff --git a/workflow/tests/test_annotate_peaks.py b/workflow/tests/test_annotate_peaks.py
index e1b3632ceb1335afa00aeea0215e94a2769adc59..01152c815b4de260e8ae11619bc080b3ce37da5b 100644
--- a/workflow/tests/test_annotate_peaks.py
+++ b/workflow/tests/test_annotate_peaks.py
@@ -23,7 +23,7 @@ def test_annotate_peaks_singleend():
     assert os.path.exists(os.path.join(test_output_path, 'ENCSR238SGC.chipseeker_pie.pdf'))
     assert os.path.exists(os.path.join(test_output_path, 'ENCSR238SGC.chipseeker_pie.pdf'))
     annotation_file = test_output_path + 'ENCSR238SGC.chipseeker_annotation.csv'
-    assert os.path.exists(annotation_file))
+    assert os.path.exists(annotation_file)
     assert utils.count_lines(annotation_file) == 152839
 
 
@@ -33,5 +33,5 @@ def test_annotate_peaks_pairedend():
     assert os.path.exists(os.path.join(test_output_path, 'ENCSR217LRF.chipseeker_pie.pdf'))
     assert os.path.exists(os.path.join(test_output_path, 'ENCSR217LRF.chipseeker_pie.pdf'))
     annotation_file = test_output_path + 'ENCSR217LRF.chipseeker_annotation.csv'
-    assert os.path.exists(annotation_file))
+    assert os.path.exists(annotation_file)
     assert utils.count_lines(annotation_file) == 25390