From d8f6524da620e57f8013e7307596721d20661725 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Fri, 27 Aug 2021 18:22:14 +0200 Subject: [PATCH] Adjust test_writer_bad_message for ujson The correct timestamp value of `datetime.datetime(2019, 1, 1, 1, 1,1).timestamp()` is 1546300861. Closes: #6 --- test/test_streams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_streams.py b/test/test_streams.py index bce3ffa..c875c8f 100644 --- a/test/test_streams.py +++ b/test/test_streams.py @@ -120,9 +120,9 @@ def test_writer_bad_message(wfile, writer): b'Content-Length: 10\r\n' b'Content-Type: application/vscode-jsonrpc; charset=utf8\r\n' b'\r\n' - b'1546304461', + b'1546300861', b'Content-Length: 10\r\n' b'Content-Type: application/vscode-jsonrpc; charset=utf8\r\n' b'\r\n' - b'1546322461' + b'1546300861' ]