class_docstr: Unit test for operator loader.
class_docstr_tok: ["Unit","test","for","operator","loader","."]
code: def test_inconsistent(self):
      op = ops.local.old_format_op_inconsistent(10)
      with self.assertRaises(RuntimeError) as e:
          op(10)
          self.assertIn(
              "Loading operator with error:[Errno 2] No such file or directory:",
              e.msg,
          )
  
file_path: towhee/tests/unittests/runtime/test_operator_loader.py
imports: import unittest
  from ..None import operator_cache
  from towhee.runtime import ops
  from towhee.runtime.operator_manager.operator_loader import OperatorLoader
label_desc: Use image node_id 5 for calling the TestOperatorLoader obj's underlying member method code with example usage: obj.test_inconsistent() without return types