Skip to content

Commit fb9407e

Browse files
authored
Merge pull request #158 from cclauss/patch-1
PEP8: Never use equality operators to compare to singletons
2 parents 94feabc + f4de41f commit fb9407e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_is_valid_filename(filename, expected):
4242

4343

4444
def test_is_valid_filename_with_none():
45-
assert is_valid_filename(None) == False
45+
assert is_valid_filename(None) is False
4646

4747

4848
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)