lib.data: fix typo.

This commit is contained in:
Catherine 2023-03-03 09:03:53 +00:00
parent 0c4fda92fe
commit 16be75e02c
2 changed files with 2 additions and 2 deletions

View file

@ -425,7 +425,7 @@ class _AggregateMeta(ShapeCastable, type):
else:
# This is a class that has a base class with a layout and annotations. Such a class
# is not well-formed.
raise TypeError("Aggregate class '{}' must either inherits or specify a layout, "
raise TypeError("Aggregate class '{}' must either inherit or specify a layout, "
"not both"
.format(name))

View file

@ -635,7 +635,7 @@ class StructTestCase(FHDLTestCase):
a: 1
with self.assertRaisesRegex(TypeError,
r"^Aggregate class 'Sd' must either inherits or specify a layout, not both$"):
r"^Aggregate class 'Sd' must either inherit or specify a layout, not both$"):
class Sd(Sb):
b: 1