coverage85-step2d: 新测试 lint 清理(删无用导入与变量)
This commit is contained in:
1 parent
1e9c1b36ee
commit
903f138fd9
4 files changed
+2
-5
No files matched your search
@@ -8,7 +8,6 @@ import io
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import tarfile
|
||||
import tempfile
|
||||
import unittest
|
||||
from contextlib import redirect_stderr, redirect_stdout
|
||||
@@ -341,7 +340,7 @@ class DeployMainTest(unittest.TestCase):
|
||||
|
||||
def test_git_dry_run_via_main(self):
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
head = _make_git_repo(tmp)
|
||||
_make_git_repo(tmp)
|
||||
old_root = deploy_mod.REPO_ROOT
|
||||
deploy_mod.REPO_ROOT = tmp
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user