drop dependency on ancient mock (#3074)

This commit is contained in:
Alexandre Detiste
2024-06-12 10:47:18 +02:00
committed by GitHub
parent 1ed207cbf0
commit dc7ba3fe15
36 changed files with 43 additions and 52 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ def install_requirements(what):
from setup import EXTRAS_REQUIRE, read
finally:
sys.path = old_path
requirements = ['mock>=2.0.0', 'flake8', 'pytest', 'pytest-cov'] if what == 'all' else ['behave']
requirements = ['flake8', 'pytest', 'pytest-cov'] if what == 'all' else ['behave']
requirements += ['coverage']
# try to split tests between psycopg2 and psycopg3
requirements += ['psycopg[binary]'] if sys.version_info >= (3, 8, 0) and\