py3: remove cast_bytes method

This commit is contained in:
Mr. Outis
2019-12-31 20:14:25 -06:00
parent 326ba21ed0
commit b844aea42c
8 changed files with 9 additions and 44 deletions
+2 -3
View File
@@ -7,15 +7,14 @@ from git.exc import GitCommandNotFound
from dvc.remote.ssh.connection import SSHConnection
from dvc.repo import Repo as DvcRepo
from dvc.utils.compat import cast_bytes_py2
from .basic_env import TestDirFixture, TestDvcGitFixture, TestGitFixture
from .dir_helpers import * # noqa
# Prevent updater and analytics from running their processes
os.environ[cast_bytes_py2("DVC_TEST")] = cast_bytes_py2("true")
os.environ["DVC_TEST"] = "true"
# Ensure progress output even when not outputting to raw sys.stderr console
os.environ[cast_bytes_py2("DVC_IGNORE_ISATTY")] = cast_bytes_py2("true")
os.environ["DVC_IGNORE_ISATTY"] = "true"
@pytest.fixture(autouse=True)