We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc130b2 commit a80f16aCopy full SHA for a80f16a
tests/config/test_application.py
@@ -14,7 +14,7 @@
14
import typing as t
15
from io import StringIO
16
from tempfile import TemporaryDirectory
17
-from unittest import TestCase
+from unittest import TestCase, mock
18
19
import pytest
20
from pytest import mark
@@ -25,11 +25,6 @@
25
from traitlets.config.loader import Config, KVArgParseConfigLoader
26
from traitlets.tests.utils import check_help_all_output, check_help_output, get_output_error_code
27
28
-try:
29
- from unittest import mock
30
-except ImportError:
31
32
-
33
pjoin = os.path.join
34
35
0 commit comments