Skip to content

Commit

Permalink
Use unittest.mock instead of standalone mock (#44)
Browse files Browse the repository at this point in the history
The standalone 'mock' package is not needed for any supported versions
of Python.
  • Loading branch information
cottsay authored Dec 6, 2022
1 parent aae7c85 commit 6076815
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ test =
flake8-docstrings
flake8-import-order
flake8-quotes
mock
pep8-naming
pylint
pytest
Expand Down
1 change: 1 addition & 0 deletions test/spell_check.words
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ symlink
tempfile
thomas
todo
unittest
unmerged
wildcard
3 changes: 2 additions & 1 deletion test/test_verb.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Copyright 2021 Ruffin White
# Licensed under the Apache License, Version 2.0

from unittest.mock import Mock

from colcon_cache.verb.cache import CacheVerb
from colcon_core.command import CommandContext
from mock import Mock


class Object(object):
Expand Down

0 comments on commit 6076815

Please sign in to comment.