summaryrefslogtreecommitdiff
path: root/tests/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r--tests/test_utils.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py
index cfdf07b0..806cfc7d 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -7,6 +7,9 @@ import os
import signal
import sys
import time
+from unittest import (
+ mock,
+)
import pytest
@@ -18,14 +21,6 @@ from cmd2.constants import (
HORIZONTAL_ELLIPSIS,
)
-try:
- import mock
-except ImportError:
- from unittest import (
- mock,
- )
-
-
HELLO_WORLD = 'Hello, world!'