mirror of
https://github.com/httpie/cli.git
synced 2025-03-13 06:18:33 +01:00
Fix occasional failures for tests dealing with binary bodies
This commit is contained in:
parent
4cea2e80af
commit
191824ce30
@ -82,8 +82,8 @@ class Encoder:
|
||||
|
||||
TEMPLATE = 'hash({})'
|
||||
|
||||
STR_PATTERN = re.compile(r'hash\((.*)\)')
|
||||
BYTES_PATTERN = re.compile(rb'hash\((.*)\)')
|
||||
STR_PATTERN = re.compile(r'hash\((.*?)\)')
|
||||
BYTES_PATTERN = re.compile(rb'hash\((.*?)\)')
|
||||
|
||||
def __init__(self):
|
||||
self.substitutions = {}
|
||||
|
Loading…
Reference in New Issue
Block a user