@@ -278,10 +278,10 @@ def test_partition_to_py_raise_on_incorrect_precision_or_scale(
278278 (StringType (), b"foo" , "foo" ),
279279 (
280280 UUIDType (),
281- b"\xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " ,
282- b" \xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " ,
281+ b"f79c3e09-677c-4bbd-a479-3f349cb785e7 " ,
282+ uuid . UUID ( "f79c3e09-677c-4bbd-a479-3f349cb785e7" ) ,
283283 ),
284- (UUIDType (), b"\xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " , b" \xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " ),
284+ (UUIDType (), b"f79c3e09-677c-4bbd-a479-3f349cb785e7 " , uuid . UUID ( "f79c3e09-677c-4bbd-a479-3f349cb785e7" ) ),
285285 (FixedType (3 ), b"foo" , b"foo" ),
286286 (BinaryType (), b"foo" , b"foo" ),
287287 (DecimalType (5 , 2 ), b"\x30 \x39 " , Decimal ("123.45" )),
@@ -316,10 +316,10 @@ def test_from_bytes(primitive_type: PrimitiveType, b: bytes, result: Any) -> Non
316316 (StringType (), b"foo" , "foo" ),
317317 (
318318 UUIDType (),
319- b"\xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " ,
320- b" \xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " ,
319+ b"f79c3e09-677c-4bbd-a479-3f349cb785e7 " ,
320+ uuid . UUID ( "f79c3e09-677c-4bbd-a479-3f349cb785e7" ) ,
321321 ),
322- (UUIDType (), b"\xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " , b" \xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " ),
322+ (UUIDType (), b"f79c3e09-677c-4bbd-a479-3f349cb785e7 " , uuid . UUID ( "f79c3e09-677c-4bbd-a479-3f349cb785e7" ) ),
323323 (FixedType (3 ), b"foo" , b"foo" ),
324324 (BinaryType (), b"foo" , b"foo" ),
325325 (DecimalType (5 , 2 ), b"\x30 \x39 " , Decimal ("123.45" )),
@@ -356,9 +356,9 @@ def test_round_trip_conversion(primitive_type: PrimitiveType, b: bytes, result:
356356 (
357357 UUIDType (),
358358 uuid .UUID ("f79c3e09-677c-4bbd-a479-3f349cb785e7" ),
359- b"\xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " ,
359+ b"f79c3e09-677c-4bbd-a479-3f349cb785e7 " ,
360360 ),
361- (UUIDType (), uuid .UUID ("f79c3e09-677c-4bbd-a479-3f349cb785e7" ), b"\xf7 \x9c > \t g|K \xbd \xa4 y?4 \x9c \xb7 \x85 \xe7 " ),
361+ (UUIDType (), uuid .UUID ("f79c3e09-677c-4bbd-a479-3f349cb785e7" ), b"f79c3e09-677c-4bbd-a479-3f349cb785e7 " ),
362362 ],
363363)
364364def test_uuid_to_bytes (primitive_type : PrimitiveType , v : Any , result : bytes ) -> None :
0 commit comments