Skip to content

Commit d45807f

Browse files
Fix test
1 parent 9039e47 commit d45807f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/openvino/test_quantization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ def test_ovmodel_load_large_model_with_default_compressed_weights(self):
12621262

12631263
def main_export_in_stacktrace(*args, **kwargs):
12641264
# Compression was called from `main_export`
1265-
self.assertTrue(inspect.stack()[5].function == "main_export")
1265+
self.assertTrue(inspect.stack()[6].function == "main_export")
12661266
return compressed_model_mock_obj
12671267

12681268
with unittest.mock.patch(

0 commit comments

Comments
 (0)