fallback to pathlib2 for older python

This commit is contained in:
Krisztián Szűcs committed 2018-09-05 11:13:40 +02:00
1 parent c550e1ba1c
commit 7c4d72c750
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -362,7 +362,7 @@ class ParquetDatasetPiece(object):
Parameters
----------
path : str
path : str or pathlib.Path
Path to file in the file system where this piece is located
partition_keys : list of tuples
[(column name, ordinal index)]
+5 -1
View File
@@ -16,7 +16,11 @@
# under the License.
import pytest
import pathlib
try:
import pathlib
except ImportError:
import pathlib2 as pathlib # py2 compat
groups = [