diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-01-25 15:37:12 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-01-25 16:01:13 -0500 |
| commit | 344b7f695aeb333bd86a56029799ceef122b947d (patch) | |
| tree | a9bb70796af487d7ba52e8614fcb9302a89dd15d /suite/api_test.py | |
| parent | 1dedf56d487d8e2953d63496cc0df8e7ae888c8e (diff) | |
Fix TypeBuilder.__repr__ and add unit test
Diffstat (limited to 'suite/api_test.py')
| -rw-r--r-- | suite/api_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/suite/api_test.py b/suite/api_test.py index c44e34ac..f116941c 100644 --- a/suite/api_test.py +++ b/suite/api_test.py @@ -440,6 +440,7 @@ class TypeBuilderTest(unittest.TestCase): assert ib.signed assert len(ib) == 4 assert ib == ib.immutable_copy().mutable_copy(), "IntegerBuilder failed to round trip mutability" + assert repr(ib).startswith("<type:") def test_CharBuilder(self): b = TypeBuilder.char("my_char") |
