Skip to content

Commit afd76e7

Browse files
committed
fixed regex
1 parent aa13d2d commit afd76e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_pymas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def test_from_pickle(train_data, pickle_file):
196196

197197
# Ignore byte string during comparison. Pickle seems to change with
198198
# time / Python versions
199-
result = re.sub('bytes = b"[\w\d/\+]+"', 'bytes = b"X"', result)
199+
result = re.sub('bytes = b"[\w\d/\+\=]+"', 'bytes = b"X"', result)
200200
assert result == target.lstrip('\n')
201201

202202

0 commit comments

Comments
 (0)