Skip to content

Commit d7e1d75

Browse files
authored
NO-JIRA: Fix linter warnings in test_01_intro.py (#1039)
Added noqa comments to suppress specific linter warnings: comparing constants and module-level import placement. These changes ensure the code adheres to style guidelines without functional impact.
1 parent 2f29bc1 commit d7e1d75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pytest_tutorial/test_01_intro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ class TestSomething:
5050

5151
def test_something(self):
5252
"""Individual tests are methods in this class, and they are named test_* as usual."""
53-
assert True is not False
53+
assert True is not False # noqa: PLR0133 Two constants compared in a comparison
5454

5555

56-
import unittest
56+
import unittest # noqa: E402 Module level import not at top of file
5757

5858

5959
class LegacyThing(unittest.TestCase):

0 commit comments

Comments
 (0)