Skip to content

Commit a80f16a

Browse files
authored
Cleanup after remove Python 2 support (#882)
1 parent fc130b2 commit a80f16a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/config/test_application.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import typing as t
1515
from io import StringIO
1616
from tempfile import TemporaryDirectory
17-
from unittest import TestCase
17+
from unittest import TestCase, mock
1818

1919
import pytest
2020
from pytest import mark
@@ -25,11 +25,6 @@
2525
from traitlets.config.loader import Config, KVArgParseConfigLoader
2626
from traitlets.tests.utils import check_help_all_output, check_help_output, get_output_error_code
2727

28-
try:
29-
from unittest import mock
30-
except ImportError:
31-
from unittest import mock
32-
3328
pjoin = os.path.join
3429

3530

0 commit comments

Comments
 (0)