diff --git a/tests/test_encoder.py b/tests/test_encoder.py index 43105840..bb039d98 100644 --- a/tests/test_encoder.py +++ b/tests/test_encoder.py @@ -93,6 +93,8 @@ def test_canonical_attr(impl): assert not enc.canonical enc = impl.CBOREncoder(stream, canonical=True) assert enc.canonical + enc = impl.CBOREncoder(stream, canonical=2) + assert enc.canonical def test_dump(impl):