From 1a21aa80e26fe8cf9a6815a99e4246872742a74b Mon Sep 17 00:00:00 2001 From: pylover Date: Thu, 15 Aug 2024 00:40:52 +0330 Subject: [PATCH] Fix: Python3.10 compatibility --- tests/test_assertion.py | 2 +- tests/test_call.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_assertion.py b/tests/test_assertion.py index dd76c5b..47f9adc 100644 --- a/tests/test_assertion.py +++ b/tests/test_assertion.py @@ -9,7 +9,7 @@ def wsgi_application(environ, start_response): form = parse_qs( fp.read(int(environ.get('CONTENT_LENGTH'))).decode(), keep_blank_values=True, - strict_parsing=True + strict_parsing=False ) try: diff --git a/tests/test_call.py b/tests/test_call.py index 5bcff6a..167f3a4 100644 --- a/tests/test_call.py +++ b/tests/test_call.py @@ -11,7 +11,7 @@ def wsgi_application(environ, start_response): form = parse_qs( fp.read(int(environ.get('CONTENT_LENGTH', 0))).decode(), keep_blank_values=True, - strict_parsing=True + strict_parsing=False ) start_response(