Skip to content

Commit 986bc65

Browse files
Change imports order for copytomask
1 parent 5218443 commit 986bc65

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

modules/gapi/misc/python/test/test_gapi_sample_pipelines.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ def test_mean_over_r(self):
3232
g_out = cv.gapi.mean(r)
3333
comp = cv.GComputation(g_in, g_out)
3434

35-
actual = comp.apply(in_mat)
36-
3735
for pkg in pkgs:
3836
actual = comp.apply(in_mat, args=cv.compile_args(pkg))
3937
# Comparison

modules/python/test/test_copytomask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# Python 2/3 compatibility
88
from __future__ import print_function
99

10-
import cv2 as cv
1110
import numpy as np
11+
import cv2 as cv
1212
import sys
1313

1414
from tests_common import NewOpenCVTests

0 commit comments

Comments
 (0)