Change imports order for copytomask
authorAnatoliy Talamanov <anatoliy.talamanov@intel.com>
Wed, 16 Sep 2020 14:59:19 +0000 (17:59 +0300)
committerAnatoliy Talamanov <anatoliy.talamanov@intel.com>
Thu, 17 Sep 2020 08:09:41 +0000 (11:09 +0300)
modules/gapi/misc/python/test/test_gapi_sample_pipelines.py
modules/python/test/test_copytomask.py

index d24a0de..1f672f4 100644 (file)
@@ -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
index 6c78ac8..05e30ed 100644 (file)
@@ -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