Skip to content

Commit 1ed4bf6

Browse files
authored
Add missing import nose.SkipTest in optical flow tests (#3707)
Signed-off-by: Michał Zientkiewicz <mzient@gmail.com>
1 parent 36cdfef commit 1ed4bf6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dali/test/python/test_optical_flow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ def check_optflow(output_grid=1, hint_grid=1, use_temporal_hints=False):
258258

259259
def test_optflow():
260260
if not is_of_supported():
261-
raise nose.SkipTest('Optical Flow is not supported on this platform')
261+
from nose import SkipTest
262+
raise SkipTest('Optical Flow is not supported on this platform')
262263
for output_grid in [1, 2, 4]:
263264
hint_grid = random.choice([None, 1, 2, 4, 8])
264265
for use_temporal_hints in [True, False]:

0 commit comments

Comments
 (0)