diff --git a/IPython/lib/tests/test_display.py b/IPython/lib/tests/test_display.py index 533bb46..7e98a18 100644 --- a/IPython/lib/tests/test_display.py +++ b/IPython/lib/tests/test_display.py @@ -14,11 +14,7 @@ #----------------------------------------------------------------------------- from tempfile import NamedTemporaryFile, mkdtemp from os.path import split, join as pjoin, dirname -import sys -try: - import pathlib -except ImportError: - pass +import pathlib from unittest import TestCase, mock import struct import wave