Skip to content

Commit c5746d0

Browse files
committed
fix
1 parent 404058f commit c5746d0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

posthog/test/test_utils.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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})

0 commit comments

Comments
 (0)