File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8282 typecode[full] >= 30.0.1
8383
8484patch =
85- patch >= 1.16
85+ patch-ng >= 1.17
8686
8787testing =
8888 pytest >= 6, != 7.0.0
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ def patch_info(location):
134134
135135 Raise an exception if the file is not a patch file or cannot be parsed.
136136 """
137- import patch as pythonpatch
137+ import patch_ng as pythonpatch
138138 patchset = pythonpatch .fromfile (location )
139139 if not patchset :
140140 msg = 'Unable to parse patch file: %(location)s' % locals ()
Original file line number Diff line number Diff line change 1818from extractcode import patch
1919
2020try :
21- import patch as _pythonpatch
21+ import patch_ng as _pythonpatch
2222except ImportError :
2323 import pytest
2424 pytestmark = pytest .mark .skipif (True , reason = "Run only if patch is installed." )
You can’t perform that action at this time.
0 commit comments