Skip to content

Commit 297501b

Browse files
authored
Import patch from stdlib unittest.mock instead of external mock (#277)
* Import patch from stdlib unittest.mock instead of external mock * Resort the imports
1 parent cb7ed90 commit 297501b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

setup.cfg

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ setup_requires =
4242
setuptools_scm
4343
pytest-runner
4444
tests_require =
45-
mock
4645
pytest
4746
pytest-cov
4847
pytest-django

tests/test_types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import logging
2+
from unittest.mock import patch
23

34
import pytest
45
from django.core.exceptions import ValidationError
5-
from mock import patch
66

77
from tests import VALID_VIES_COUNTRY_CODE, VALID_VIES_IE, VALID_VIES_NUMBER
88
from vies.types import VATIN

0 commit comments

Comments
 (0)