forked from github/pelican
Code changes for more ruff checks
This commit is contained in:
parent
b6d3b65899
commit
9d30c5608a
5 changed files with 19 additions and 21 deletions
|
|
@ -6,4 +6,4 @@ from pelican.tests.support import unittest
|
|||
class TestSuiteTest(unittest.TestCase):
|
||||
def test_error_on_warning(self):
|
||||
with self.assertRaises(UserWarning):
|
||||
warnings.warn("test warning")
|
||||
warnings.warn("test warning") # noqa: B028
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue