From dbc464b7fc5f2cfdcce55e03ed68f66a80abc313 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 11 Oct 2020 13:13:14 +0200 Subject: dev-python/python-jsonrpc-server: fix bug in tests with ujson>3 Closes: https://bugs.gentoo.org/715290 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan Signed-off-by: Joonas Niilola --- ...n-jsonrpc-server-0.4.0-fix-test-with-ujson-3-and-up.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-python/python-jsonrpc-server/files/python-jsonrpc-server-0.4.0-fix-test-with-ujson-3-and-up.patch (limited to 'dev-python/python-jsonrpc-server/files') diff --git a/dev-python/python-jsonrpc-server/files/python-jsonrpc-server-0.4.0-fix-test-with-ujson-3-and-up.patch b/dev-python/python-jsonrpc-server/files/python-jsonrpc-server-0.4.0-fix-test-with-ujson-3-and-up.patch new file mode 100644 index 000000000000..b639d69bbd04 --- /dev/null +++ b/dev-python/python-jsonrpc-server/files/python-jsonrpc-server-0.4.0-fix-test-with-ujson-3-and-up.patch @@ -0,0 +1,12 @@ +diff --git a/test/test_streams.py b/test/test_streams.py +index 6985aec..9e64489 100644 +--- a/test/test_streams.py ++++ b/test/test_streams.py +@@ -119,6 +119,7 @@ def test_writer_bad_message(wfile, writer): + hour=1, + minute=1, + second=1, ++ tzinfo=datetime.timezone.utc + )) + + assert wfile.getvalue() in [ -- cgit v1.2.3-65-gdbad