Skip to content

Commit 8f219d8

Browse files
committed
Remove remaining nose
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
1 parent 02e2ee3 commit 8f219d8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dali/test/python/test_functional_api.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2020-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# Copyright (c) 2020-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -20,7 +20,6 @@
2020
from nose_utils import assert_raises, attr
2121
import sys
2222
import inspect
23-
import nose
2423

2524

2625
def _test_fn_rotate(device):
@@ -185,7 +184,7 @@ def _test_schema_name_for_module(module_name, base_name=""):
185184
# Check if we can reconstruct the name of the op from provided schema
186185
assert hasattr(member, "_schema_name")
187186
full_name = ops._op_name(member._schema_name)
188-
nose.tools.eq_(base_name + "." + full_name, module_name + "." + member_name)
187+
assert base_name + "." + full_name == module_name + "." + member_name
189188
elif inspect.ismodule(member) and (module_name + "." + member_name) in sys.modules.keys():
190189
# Recurse on DALI submodule (filter out non-DALI reexported modules like `sys`)
191190
_test_schema_name_for_module(module_name + "." + member_name, base_name)

0 commit comments

Comments
 (0)