Skip to content

Commit 7072c87

Browse files
test: Resolve unused variable warning
1 parent 0aa73c4 commit 7072c87

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_verbosity.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ def test_geTrue():
4848
# >>>>>>>>>> Raising <<<<<<<<<< #
4949
def test_ltRaise():
5050
with pytest.raises(ValueError):
51-
Verbosity(0) < Exception()
51+
return Verbosity(0) < Exception()
5252

5353

5454
def test_leRaise():
5555
with pytest.raises(ValueError):
56-
Verbosity(0) <= Exception()
56+
return Verbosity(0) <= Exception()
5757

5858

5959
def test_gtRaise():
6060
with pytest.raises(ValueError):
61-
Verbosity(1) > Exception()
61+
return Verbosity(1) > Exception()
6262

6363

6464
def test_geRaise():
6565
with pytest.raises(ValueError):
66-
Verbosity(1) >= Exception()
66+
return Verbosity(1) >= Exception()

0 commit comments

Comments
 (0)