##// END OF EJS Templates
Simplify some pathlib imports
Thomas Kluyver -
Show More
@@ -18,11 +18,7 b' import random'
18 18 import sys
19 19
20 20 import nose.tools as nt
21 try:
22 from pathlib import Path
23 except ImportError:
24 # for Python 3.3
25 from pathlib2 import Path
21 from pathlib import Path
26 22
27 23 from IPython.utils import text
28 24
@@ -13,11 +13,7 b' import re'
13 13 import sys
14 14 import textwrap
15 15 from string import Formatter
16 try:
17 from pathlib import Path
18 except ImportError:
19 # for Python 3.3
20 from pathlib2 import Path
16 from pathlib import Path
21 17
22 18 from IPython.utils import py3compat
23 19
General Comments 0
You need to be logged in to leave comments. Login now