Fix flake error.

This commit is contained in:
Itamar Turner-Trauring 2020-09-17 12:37:10 -04:00
parent cecbc260fa
commit 03fd566e2c

View File

@ -6,7 +6,7 @@ from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from future.utils import bytes_to_native_str, PY2, native_str_to_bytes
from future.utils import bytes_to_native_str, PY2
if PY2:
# Omit open() to get native behavior where open("w") always accepts native
# strings. Omit bytes so we don't leak future's custom bytes.