Skip to content

Commit

Permalink
Merge 3960e37 into 4b94262
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed May 30, 2022
2 parents 4b94262 + 3960e37 commit df4cef5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -64,7 +64,7 @@
],
extras_require={
'test': [
'mock >= 3.0.0',
'mock >= 3.0.0; python_version == "3.7"',
'pytest',
],
},
Expand Down
7 changes: 6 additions & 1 deletion tests.py
Expand Up @@ -16,7 +16,12 @@
from typing import Optional
from xml.etree import ElementTree as ET

import mock
if sys.version_info >= (3, 8):
from unittest import mock
else:
# unittest.mock in 3.7 is too old to support
# all the features used in the test suite
import mock

from check_manifest import rmtree

Expand Down

0 comments on commit df4cef5

Please sign in to comment.