]> git.pld-linux.org Git - packages/python-schema.git/blob - python-schema-requirements.patch
- new
[packages/python-schema.git] / python-schema-requirements.patch
1 --- schema-0.7.2/requirements.txt.orig  2020-04-15 01:51:34.000000000 +0200
2 +++ schema-0.7.2/requirements.txt       2020-09-11 20:55:32.136670218 +0200
3 @@ -1 +1 @@
4 -contextlib2>=0.5.5
5 +contextlib2>=0.5.5;python_version<"2.7"
6 --- schema-0.7.2/test_schema.py.orig    2020-04-15 01:51:34.000000000 +0200
7 +++ schema-0.7.2/test_schema.py 2020-09-11 21:06:30.749768871 +0200
8 @@ -10,7 +10,10 @@
9  from functools import partial
10  from operator import methodcaller
11  
12 -from mock import Mock
13 +try:
14 +    from unittest.mock import Mock
15 +except:
16 +    from mock import Mock
17  from pytest import mark, raises
18  from schema import (
19      And,
This page took 0.050872 seconds and 3 git commands to generate.