feat: more pythonic error parent class

This commit is contained in:
2025-09-14 01:40:59 -03:00
parent 7f44e84bce
commit 156c825a67
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ from unittest import TestCase
class TestInternalAssertionException(TestCase):
def test_inheritance(self):
self.assertTrue(issubclass(InternalAssertionException, AssertionError))
self.assertTrue(issubclass(InternalAssertionException, RuntimeError))
def test_message(self):
message = "This is an internal assertion error."