File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 20
20
import multiprocessing
21
21
import operator
22
22
import os
23
- from pathlib import Path
24
23
import re
25
24
import shutil
26
25
import sys
Original file line number Diff line number Diff line change 1
- from pathlib import Path
1
+ import pathlib
2
2
3
3
import pytest
4
4
5
5
6
- @pytest .fixture (params = [str , Path ])
6
+ @pytest .fixture (params = [str , pathlib . Path ])
7
7
def path_type (request ):
8
8
return request .param
Original file line number Diff line number Diff line change 2
2
import atexit
3
3
import json
4
4
import os
5
- from pathlib import Path
5
+ import pathlib
6
6
import sys
7
7
import pickle
8
8
import shutil
@@ -840,7 +840,7 @@ def test_filesystem_path(self):
840
840
def test_init_pathlib (self ):
841
841
path = tempfile .mkdtemp ()
842
842
atexit .register (atexit_rmtree , path )
843
- DirectoryStore (Path (path ))
843
+ DirectoryStore (pathlib . Path (path ))
844
844
845
845
def test_pickle_ext (self ):
846
846
store = self .create_store ()
You can’t perform that action at this time.
0 commit comments