@@ -361,7 +361,7 @@ def test_get_all_with_nested_namespaces():
361361
362362 @register ("math.functions.add" )
363363 def add (x , y ): # pylint: disable=unused-variable
364- return x + y
364+ return x + y # pragma: no cover
365365
366366 @register ("math.constants" )
367367 class Constants : # pylint: disable=unused-variable
@@ -383,7 +383,7 @@ def test_register_callable_without_name():
383383 # Create a callable object without __name__ attribute
384384 class CallableWithoutName :
385385 def __call__ (self ):
386- pass
386+ pass # pragma: no cover
387387
388388 callable_obj = CallableWithoutName ()
389389
@@ -402,7 +402,7 @@ def test_is_registered_with_function():
402402 """
403403
404404 def test_func ():
405- pass
405+ pass # pragma: no cover
406406
407407 setattr (test_func , "__is_expressions_type__" , True )
408408
@@ -423,7 +423,7 @@ def test_register_with_invalid_name():
423423 """Test that registering with an invalid name type raises ValueError."""
424424
425425 class TestObject :
426- pass
426+ pass # pragma: no cover
427427
428428 with pytest .raises (ValueError ) as exc_info :
429429 registry .register ()(TestObject ()) # Pass an object without __name__
@@ -481,12 +481,12 @@ def test_get_all_with_mixed_content():
481481 # Register a function in a namespace
482482 @register ("utils.helper" )
483483 def helper (): # pylint: disable=unused-variable
484- pass
484+ pass # pragma: no cover
485485
486486 # Register a direct object
487487 @register
488488 def direct_func (): # pylint: disable=unused-variable
489- pass
489+ pass # pragma: no cover
490490
491491 all_objects = registry .get_all ()
492492 assert "math" in all_objects
@@ -500,7 +500,7 @@ def test_is_registered_with_string_name():
500500
501501 @register ("test.func" )
502502 def test_func (): # pylint: disable=unused-variable
503- pass
503+ pass # pragma: no cover
504504
505505 assert registry .is_registered ("test.func" )
506506 assert not registry .is_registered ("non.existent.func" )
@@ -511,11 +511,11 @@ def test_get_all_with_non_dict_values():
511511
512512 @register ("test.value" )
513513 def test_func (): # pylint: disable=unused-variable
514- pass
514+ pass # pragma: no cover
515515
516516 @register ("direct_value" )
517517 def direct_func (): # pylint: disable=unused-variable
518- pass
518+ pass # pragma: no cover
519519
520520 register_module ("math" )
521521
0 commit comments