1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
--- a/tests/test_reqparse.py
+++ b/tests/test_reqparse.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
import unittest
-from mock import Mock, patch
+from unittest.mock import Mock, patch
from flask import Flask
from werkzeug import exceptions
from werkzeug.wrappers import Request
--- a/tests/test_fields.py
+++ b/tests/test_fields.py
@@ -2,7 +2,7 @@
from functools import partial
import zoneinfo
import unittest
-from mock import Mock
+from unittest.mock import Mock
from flask_restful.fields import MarshallingException
from flask_restful.utils import OrderedDict
from flask_restful import fields
|