diff options
| author | Barry Warsaw | 2015-09-22 15:11:21 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-09-22 15:11:21 -0400 |
| commit | c092ba315f4db404f4ccc8d57b936abf3be0d054 (patch) | |
| tree | 054030c3e192259951eac855f73b94d2ea5395ca /src/mailman/commands | |
| parent | 929867584431e41826414e8281c4e0726968503b (diff) | |
| download | mailman-c092ba315f4db404f4ccc8d57b936abf3be0d054.tar.gz mailman-c092ba315f4db404f4ccc8d57b936abf3be0d054.tar.zst mailman-c092ba315f4db404f4ccc8d57b936abf3be0d054.zip | |
Core no longer depends on the standalone `mock` module. (Closes: #146)
Diffstat (limited to 'src/mailman/commands')
| -rw-r--r-- | src/mailman/commands/tests/test_conf.py | 2 | ||||
| -rw-r--r-- | src/mailman/commands/tests/test_import.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/commands/tests/test_conf.py b/src/mailman/commands/tests/test_conf.py index 5ff93895d..7412b5dec 100644 --- a/src/mailman/commands/tests/test_conf.py +++ b/src/mailman/commands/tests/test_conf.py @@ -24,13 +24,13 @@ __all__ = [ import os import sys -import mock import tempfile import unittest from io import StringIO from mailman.commands.cli_conf import Conf from mailman.testing.layers import ConfigLayer +from unittest import mock diff --git a/src/mailman/commands/tests/test_import.py b/src/mailman/commands/tests/test_import.py index 96f955e52..9da0dac5b 100644 --- a/src/mailman/commands/tests/test_import.py +++ b/src/mailman/commands/tests/test_import.py @@ -27,8 +27,8 @@ import unittest from mailman.app.lifecycle import create_list from mailman.commands.cli_import import Import21 from mailman.testing.layers import ConfigLayer -from mock import patch from pkg_resources import resource_filename +from unittest.mock import patch |
