diff options
| author | Miro Hrončok <miro@hroncok.cz> | 2022-10-17 14:03:14 +0200 |
|---|---|---|
| committer | Miro Hrončok <miro@hroncok.cz> | 2022-10-17 14:12:46 +0200 |
| commit | c4b556166f9371d0cbc24d50dab83325aac77a3e (patch) | |
| tree | 3264a1d0e8b38074e19fda97f7223bbd345ed9e6 /setuptools/tests/test_bdist_deprecations.py | |
| parent | f07a248e1e58a76eac5069d8c07bdf81e981587d (diff) | |
| download | python-setuptools-git-c4b556166f9371d0cbc24d50dab83325aac77a3e.tar.gz | |
Consistently use unittest.mock in tests
- Some tests used unittest.mock from the standard library
- Some tests used mock from PyPI
- Some tests tried to import unittest.mock with a fallback to mock
(the import never fails on Python 3.7+, older Pythons are not supported)
Diffstat (limited to 'setuptools/tests/test_bdist_deprecations.py')
| -rw-r--r-- | setuptools/tests/test_bdist_deprecations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_bdist_deprecations.py b/setuptools/tests/test_bdist_deprecations.py index 1a900c67..1b69c418 100644 --- a/setuptools/tests/test_bdist_deprecations.py +++ b/setuptools/tests/test_bdist_deprecations.py @@ -1,7 +1,7 @@ """develop tests """ -import mock import sys +from unittest import mock import pytest |
