Skip to content

Commit 2ab43b1

Browse files
committed
✏️ Fix escapes in rawstring
1 parent 4014990 commit 2ab43b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CPAC/utils/monitoring/monitoring.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ class DatetimeWithSafeNone(datetime, _NoTime):
9393
'2025-06-18T21:06:43.730004'
9494
>>> DatetimeWithSafeNone("2025-06-18T21:06:43.730004").isoformat()
9595
'2025-06-18T21:06:43.730004'
96-
>>> DatetimeWithSafeNone(b"\\x07\\xe9\\x06\\x12\\x10\\x18\\x1c\\x88\\x6d\\x01").isoformat()
96+
>>> DatetimeWithSafeNone(b"\x07\xe9\x06\x12\x10\x18\x1c\x88\x6d\x01").isoformat()
9797
'2025-06-18T16:24:28.028040+00:00'
98-
>>> DatetimeWithSafeNone(b'\\x07\\xe9\\x06\\x12\\x10\\x18\\x1c\\x88m\\x00').isoformat()
98+
>>> DatetimeWithSafeNone(b'\x07\xe9\x06\x12\x10\x18\x1c\x88m\x00').isoformat()
9999
'2025-06-18T16:24:28.028040'
100100
>>> DatetimeWithSafeNone(DatetimeWithSafeNone("2025-06-18")).isoformat()
101101
'2025-06-18T00:00:00'

0 commit comments

Comments
 (0)