test/python/test_extensions_standard.py
def assertStmtsType(self, stmts, type_):
        """
        Assert a list of statements stmts is of a type type_.

        Args:
            stmts (list): list of statements.
            type_ (type): a gate type.
        """
        for stmt in stmts:
            self.assertEqual(type(stmt), type_)

        Assert a list of statements stmts is of a type type_.

        Args:
            stmts (list): list of statements.
            type_ (type): a gate type.
        
Assert a list of statements stmts is of a type type_.
Assert a list of statements stmts is of a type type_ .
def assertStmtsType(self, stmts, type_):
        for stmt in stmts:
            self.assertEqual(type(stmt), type_)
def assertStmtsType ( self , stmts , type_ ) : for stmt in stmts : self . assertEqual ( type ( stmt ) , type_ )
Assert a list of statements stmts is of a type type_.
Assert a list of statements stmts is of a type type_ .
"""
        Assert a list of statements stmts is of a type type_.

        Args:
            stmts (list): list of statements.
            type_ (type): a gate type.
        """
self
stmts
list of statements.
list of statements .
type_
a gate type.
a gate type .