• Dirk Pranke's avatar
    Remove uses of `six` from test_env.py. · 2b9bec7f
    Dirk Pranke authored
    https://crrev.com/c/2229335 added a dependency on `six` from
    test_env.py in order to try and make it compatible with both
    Python 2 and Python 3. However, it got the path to the
    //third_party version of six wrong, and so it actually only worked
    if six was available otherwise in the Python install (which it is,
    most of the time, these days).
    
    The script didn't actually benefit much from six, though, so
    rather than fix the import path, this CL just makes the code
    2- and 3-compatible without needing six, and removes the dependency
    instead.
    
    Bug: 942720
    Change-Id: I44e44772cea8d92eff10a5c59879ce4d05de8fcc
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2545924
    Commit-Queue: Dirk Pranke <dpranke@google.com>
    Reviewed-by: default avatarBen Pastene <bpastene@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#828587}
    2b9bec7f
test_env.py 13.6 KB