Merge branch '21721-refresh-python-deps'
[arvados.git] / sdk / python / tests / test_http.py
index bce57eda61b7be549af205525bb0c81eba9e035d..de63719453535d4a1e9e85974ed7b40f8f8f602f 100644 (file)
@@ -11,11 +11,12 @@ import functools
 import hashlib
 import json
 import logging
-import mock
 import sys
 import unittest
 import datetime
 
+from unittest import mock
+
 import arvados
 import arvados.collection
 import arvados.keep
@@ -23,8 +24,6 @@ import pycurl
 
 from arvados.http_to_keep import http_to_keep
 
-import ruamel.yaml as yaml
-
 # Turns out there was already "FakeCurl" that serves the same purpose, but
 # I wrote this before I knew that.  Whoops.
 class CurlMock: