Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53f23d4

Browse files
committed
Remove unused sys & fallback pathlib (3.5+) imports.
1 parent d7cd43d commit 53f23d4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

IPython/lib/tests/test_display.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@
1414
#-----------------------------------------------------------------------------
1515
from tempfile import NamedTemporaryFile, mkdtemp
1616
from os.path import split, join as pjoin, dirname
17-
import sys
18-
try:
19-
import pathlib
20-
except ImportError:
21-
pass
17+
import pathlib
2218
from unittest import TestCase, mock
2319
import struct
2420
import wave

0 commit comments

Comments
 (0)