File: fix-test-tz.patch

package info (click to toggle)
python-lsp-jsonrpc 1.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 188 kB
  • sloc: python: 787; sh: 12; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Julian Gilbey <julian-git@d-and-j.net>
Date: Tue, 29 Dec 2020 11:41:30 +0000
Subject: fix-test-tz

---
 test/test_streams.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test_streams.py b/test/test_streams.py
index 14fe1bb..650aa43 100644
--- a/test/test_streams.py
+++ b/test/test_streams.py
@@ -120,6 +120,7 @@ def test_writer_bad_message(wfile, writer):
         hour=1,
         minute=1,
         second=1,
+        tzinfo=datetime.timezone.utc,
     ))
 
     assert wfile.getvalue() in [