Skip to content

Commit 4ec49ab

Browse files
committed
Pacify linters by passing logging.DEBUG instead of "DEBUG"
1 parent 1d59d4e commit 4ec49ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/test_self_check_outdated.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import datetime
22
import json
3+
import logging
34
import sys
45
from optparse import Values
56
from typing import Optional
@@ -95,7 +96,7 @@ def test_core_logic(
9596
version_that_should_be_checked = stored_version or remote_version
9697

9798
# WHEN
98-
with caplog.at_level("DEBUG"):
99+
with caplog.at_level(logging.DEBUG):
99100
return_value = self_outdated_check._self_version_check_logic(
100101
state=mock_state,
101102
current_time=fake_time,

0 commit comments

Comments
 (0)