diff options
Diffstat (limited to 'dev-python/genson/files')
-rw-r--r-- | dev-python/genson/files/genson-1.2.2-test.patch | 28 |
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 - |