diff --git a/swh/model/hypothesis_strategies.py b/swh/model/hypothesis_strategies.py index 163716b9004c3cd9f2c1ea653184babfda75ea0a..a5dd4f11ae071a5a20dffed02ae2e9130e1d8f54 100644 --- a/swh/model/hypothesis_strategies.py +++ b/swh/model/hypothesis_strategies.py @@ -51,7 +51,7 @@ def urls(draw): def persons(): - return builds(Person, email=optional(bytes), name=optional(bytes)) + return builds(Person, email=optional(binary()), name=optional(binary())) def timestamps():