From 986bc65e1fd9e42e8a4c001f9aeeffd27ff4e851 Mon Sep 17 00:00:00 2001 From: Anatoliy Talamanov Date: Wed, 16 Sep 2020 17:59:19 +0300 Subject: [PATCH] Change imports order for copytomask --- modules/gapi/misc/python/test/test_gapi_sample_pipelines.py | 2 -- modules/python/test/test_copytomask.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/gapi/misc/python/test/test_gapi_sample_pipelines.py b/modules/gapi/misc/python/test/test_gapi_sample_pipelines.py index d24a0de3af..1f672f4bc2 100644 --- a/modules/gapi/misc/python/test/test_gapi_sample_pipelines.py +++ b/modules/gapi/misc/python/test/test_gapi_sample_pipelines.py @@ -32,8 +32,6 @@ class gapi_sample_pipelines(NewOpenCVTests): g_out = cv.gapi.mean(r) comp = cv.GComputation(g_in, g_out) - actual = comp.apply(in_mat) - for pkg in pkgs: actual = comp.apply(in_mat, args=cv.compile_args(pkg)) # Comparison diff --git a/modules/python/test/test_copytomask.py b/modules/python/test/test_copytomask.py index 6c78ac87ef..05e30ed727 100644 --- a/modules/python/test/test_copytomask.py +++ b/modules/python/test/test_copytomask.py @@ -7,8 +7,8 @@ Test for copyto with mask # Python 2/3 compatibility from __future__ import print_function -import cv2 as cv import numpy as np +import cv2 as cv import sys from tests_common import NewOpenCVTests