[flake8-bugbear] Fix all the useless expressions that are justified

This commit is contained in:
Pierre Sassoulas
2024-02-02 21:13:43 +01:00
parent fcb818b73c
commit 52fba25ff9
8 changed files with 15 additions and 16 deletions

View File

@@ -1241,9 +1241,9 @@ class TestWINLocalPath:
def test_owner_group_not_implemented(self, path1):
with pytest.raises(NotImplementedError):
path1.stat().owner
_ = path1.stat().owner
with pytest.raises(NotImplementedError):
path1.stat().group
_ = path1.stat().group
def test_chmod_simple_int(self, path1):
mode = path1.stat().mode