From 53f23d4d5fe3f39405d43e9d1c52ba16ffafe349 2020-02-01 00:46:51 From: Terry Davis <16829776+terrdavis@users.noreply.github.com> Date: 2020-02-01 00:46:51 Subject: [PATCH] Remove unused sys & fallback pathlib (3.5+) imports. --- 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