1
0
Fork 0
forked from github/pelican

Code changes for more ruff checks

This commit is contained in:
boxydog 2024-05-30 10:33:50 -05:00
commit 9d30c5608a
5 changed files with 19 additions and 21 deletions

View file

@ -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