summaryrefslogtreecommitdiff
path: root/dev-python/genson/files/genson-1.2.2-test.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-01 23:15:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-01 23:15:56 +0100
commit85a2a2153ef8027c2ba1be45143cd91914be0ad0 (patch)
treead0163abb9755ef7f76a919d9225f26559a27076 /dev-python/genson/files/genson-1.2.2-test.patch
parent4de024ca2423b3aa77a91dd34ef0b70aff64f768 (diff)
gentoo auto-resync : 01:04:2023 - 23:15:55
Diffstat (limited to 'dev-python/genson/files/genson-1.2.2-test.patch')
-rw-r--r--dev-python/genson/files/genson-1.2.2-test.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/dev-python/genson/files/genson-1.2.2-test.patch b/dev-python/genson/files/genson-1.2.2-test.patch
deleted file mode 100644
index 1fb14ea900b0..000000000000
--- a/dev-python/genson/files/genson-1.2.2-test.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 48cb6895f1a4b3320d9ae210debd0befe06bec43 Mon Sep 17 00:00:00 2001
-From: Jon Wolverton <jonwolverton@google.com>
-Date: Mon, 19 Apr 2021 14:27:42 -0400
-Subject: [PATCH] use python -m genson for test_bin
-
----
- test/test_bin.py | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/test/test_bin.py b/test/test_bin.py
-index cd16d38..acee10f 100644
---- a/test/test_bin.py
-+++ b/test/test_bin.py
-@@ -25,8 +25,9 @@ def run(args=[], stdin_data=None):
- Run the ``genson`` executable as a subprocess and return
- (stdout, stderr).
- """
-- genson_process = Popen(['genson'] + args, stdout=PIPE, stderr=PIPE,
-- stdin=PIPE if stdin_data is not None else None)
-+ genson_process = Popen(
-+ ['python', '-m', 'genson'] + args, stdout=PIPE, stderr=PIPE,
-+ stdin=PIPE if stdin_data is not None else None)
- if stdin_data is not None:
- stdin_data = stdin_data.encode('utf-8')
- (stdout, stderr) = genson_process.communicate(stdin_data)
---
-2.40.0
-