Skip to content

Commit 841b6f7

Browse files
Tighten the assertion
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent aaf0f18 commit 841b6f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_formatting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def test_stylechecker_valid_rst():
312312
checker.run()
313313

314314
# Should not find any issues
315-
assert not checker.issues_found or not checker.lint_issues_found
315+
assert not checker.issues_found and not checker.lint_issues_found
316316

317317

318318
def test_stylecheck_with_custom_line_length():

0 commit comments

Comments
 (0)