Fix flakes.

This commit is contained in:
Itamar Turner-Trauring 2020-12-15 09:16:50 -05:00
parent c7f2b7dd7c
commit 6a29568888
2 changed files with 1 additions and 3 deletions

View File

@ -24,8 +24,6 @@ from allmydata.util.encodingutil import unicode_platform, get_filesystem_encodin
from future.utils import bord, bchr, binary_type from future.utils import bord, bchr, binary_type
from past.builtins import unicode from past.builtins import unicode
from ..util.encodingutil import unicode_to_argv
def skip_if_cannot_represent_filename(u): def skip_if_cannot_represent_filename(u):
precondition(isinstance(u, unicode)) precondition(isinstance(u, unicode))

View File

@ -12,7 +12,7 @@ if PY2:
from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, dict, list, object, range, max, min, str # noqa: F401 from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, dict, list, object, range, max, min, str # noqa: F401
from past.builtins import chr as byteschr, long from past.builtins import chr as byteschr, long
from six import ensure_text, ensure_str, ensure_binary from six import ensure_text, ensure_str
import os, re, sys, time, json import os, re, sys, time, json
from functools import partial from functools import partial