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