Skip to content

Commit a7ce56c

Browse files
committed
remove usage of deprecated assertDictContainsSubset python/cpython#28268
1 parent f894ab9 commit a7ce56c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_blob.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5923,7 +5923,7 @@ def test_downloads_w_client_custom_headers(self):
59235923
blob._do_download.assert_called()
59245924
called_headers = blob._do_download.call_args.args[-4]
59255925
self.assertIsInstance(called_headers, dict)
5926-
self.assertDictContainsSubset(custom_headers, called_headers)
5926+
self.assertLessEqual(custom_headers.items(), called_headers.items())
59275927

59285928

59295929
class Test__quote(unittest.TestCase):

0 commit comments

Comments
 (0)