File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,7 @@ def test_clean(self):
7070 assert combined .keys () == pre_clean_keys
7171
7272 # test UUID separately, as the UUID object doesn't equal its string representation according to Python
73- assert (
74- utils .clean (UUID ("12345678123456781234567812345678" ))
75- == "12345678-1234-5678-1234-567812345678"
76- )
73+ assert utils .clean (UUID ("12345678123456781234567812345678" )) == "12345678-1234-5678-1234-567812345678"
7774
7875 def test_clean_with_dates (self ):
7976 dict_with_dates = {
@@ -85,7 +82,7 @@ def test_clean_with_dates(self):
8582 def test_bytes (self ):
8683 item = bytes (10 )
8784 utils .clean (item )
88- assert utils .clean (item ) == ' \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 '
85+ assert utils .clean (item ) == " \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 "
8986
9087 def test_clean_fn (self ):
9188 cleaned = utils .clean ({"fn" : lambda x : x , "number" : 4 })
You can’t perform that action at this time.
0 commit comments