diff options
| author | Andrei Zeliankou <zelenkov@nginx.com> | 2023-05-25 14:26:12 +0100 |
|---|---|---|
| committer | Andrei Zeliankou <zelenkov@nginx.com> | 2023-05-25 14:26:12 +0100 |
| commit | 3e4fa1e2022970dee003bea0932ea0c10f8744ba (patch) | |
| tree | d23b32b9a6e33dc57694547f1ec1427f1a19a01a /test/test_return.py | |
| parent | 47cdfb6f30f7d56bffb806cc860e20806ea62f50 (diff) | |
| download | unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.gz unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.bz2 | |
Tests: removed unused variables.
Diffstat (limited to 'test/test_return.py')
| -rw-r--r-- | test/test_return.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_return.py b/test/test_return.py index 4b8bddc7..e65a7a31 100644 --- a/test/test_return.py +++ b/test/test_return.py @@ -129,8 +129,8 @@ Connection: close check_location(f'#{unsafe}', f'#{unsafe_enc}') # %00-%20 and %7F-%FF always encoded. - check_location(u"\u0000\u0018\u001F\u0020\u0021", "%00%18%1F%20!") - check_location(u"\u007F\u0080н\u20BD", "%7F%C2%80%D0%BD%E2%82%BD") + check_location("\u0000\u0018\u001F\u0020\u0021", "%00%18%1F%20!") + check_location("\u007F\u0080н\u20BD", "%7F%C2%80%D0%BD%E2%82%BD") # Encoded string detection. If at least one char need to be encoded # then whole string will be encoded. |
