X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/763e5bd313592a1c1f161b80bc07c94a49f8fb91..fc55e48b43faeb6909ea161d804d5600df3d5c5c:/sdk/python/tests/test_collections.py diff --git a/sdk/python/tests/test_collections.py b/sdk/python/tests/test_collections.py index c79607fca9..9e753506b3 100644 --- a/sdk/python/tests/test_collections.py +++ b/sdk/python/tests/test_collections.py @@ -323,6 +323,7 @@ class ArvadosCollectionsTest(run_test_server.TestCaseWithServers, class MockKeep(object): def __init__(self, content, num_retries=0): self.content = content + self.num_prefetch_threads = 1 def get(self, locator, num_retries=0, prefetch=False): return self.content[locator] @@ -592,7 +593,7 @@ class CollectionReaderTestCase(unittest.TestCase, CollectionTestMixin): # Ensure stripped_manifest() doesn't mangle our manifest in # any way other than stripping hints. self.assertEqual( - re.sub('\+[^\d\s\+]+', '', nonnormal), + re.sub(r'\+[^\d\s\+]+', '', nonnormal), reader.stripped_manifest()) # Ensure stripped_manifest() didn't mutate our reader. self.assertEqual(nonnormal, reader.manifest_text())