Skip to content

Commit 7cce69b

Browse files
committed
revert debug
1 parent b40af24 commit 7cce69b

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tests/python/rest_api/test_tasks.py

+1-10
Original file line numberDiff line numberDiff line change
@@ -749,16 +749,7 @@ def test_create_task_with_file_pattern(
749749
"/local",
750750
"/local",
751751
]
752-
try:
753-
result = subprocess.run(
754-
"docker image ls | grep cvat/server", stdout=subprocess.PIPE, shell=True
755-
)
756-
print("result: ", result)
757-
subprocess.check_output(command)
758-
except subprocess.CalledProcessError as ex:
759-
print(ex.returncode)
760-
print(ex.output)
761-
raise
752+
subprocess.run(command, check=True)
762753
with open(osp.join(tmp_dir, "manifest.jsonl"), mode="rb") as m_file:
763754
s3_client.create_file(
764755
data=m_file.read(),

0 commit comments

Comments
 (0)