[swarming] remove six from file_path.py
Bug: 1247959
Change-Id: Ic84fdb707f5e45a1c25bdddd78b4ae6e5a6afde0
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/3382498
Commit-Queue: Junji Watanabe <jwata@google.com>
Auto-Submit: Junji Watanabe <jwata@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
NOKEYCHECK=True
GitOrigin-RevId: 369a7f2e64168722ae7894216a154cc1f8e0df57
diff --git a/tests/file_path_test.py b/tests/file_path_test.py
index 3500f47..d4c6c84 100755
--- a/tests/file_path_test.py
+++ b/tests/file_path_test.py
@@ -13,8 +13,6 @@
import time
import unittest
-import six
-
# Mutates sys.path.
import test_env
@@ -321,7 +319,7 @@
if sys.platform == 'win32':
def test_native_case_alternate_datastream(self):
# Create the file manually, since tempfile doesn't support ADS.
- tempdir = six.text_type(tempfile.mkdtemp(prefix=u'trace_inputs'))
+ tempdir = tempfile.mkdtemp(prefix=u'trace_inputs')
try:
tempdir = file_path.get_native_path_case(tempdir)
basename = 'foo.txt'