diff --git a/projects/orjson/fuzz_orjson.py b/projects/orjson/fuzz_orjson.py index 60fa90cc8..65e998fd4 100644 --- a/projects/orjson/fuzz_orjson.py +++ b/projects/orjson/fuzz_orjson.py @@ -27,8 +27,11 @@ def TestOneInput(data): except ValueError: return - encoded = orjson.dumps(orjson_data) - del encoded + try: + encoded = orjson.dumps(orjson_data) + del encoded + except TypeError: + return def main():