mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-07-30 09:28:33 -04:00
Use mock from standard library (#11588)
Instead of the backported version.
This commit is contained in:
parent
8ad39438fa
commit
7a7ca8f226
3 changed files with 10 additions and 12 deletions
4
setup.py
4
setup.py
|
@ -120,9 +120,7 @@ CONDITIONAL_REQUIREMENTS["mypy"] = [
|
|||
# Tests assume that all optional dependencies are installed.
|
||||
#
|
||||
# parameterized_class decorator was introduced in parameterized 0.7.0
|
||||
#
|
||||
# We use `mock` library as that backports `AsyncMock` to Python 3.6
|
||||
CONDITIONAL_REQUIREMENTS["test"] = ["parameterized>=0.7.0", "mock>=4.0.0"]
|
||||
CONDITIONAL_REQUIREMENTS["test"] = ["parameterized>=0.7.0"]
|
||||
|
||||
CONDITIONAL_REQUIREMENTS["dev"] = (
|
||||
CONDITIONAL_REQUIREMENTS["lint"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue