def setup_method(self, method):
        self.tempdir = tempfile.mkdtemp()

        self.fqdb_name     = os.path.join(self.tempdir, 'metadata.db')
        self.db            = create_engine(self.fqdb_name % 'sqlite:////%s',
                                           logging_name='/tmp/gristle_sql.log')
        self.db.echo                = False
        self.conn                   = self.db.connect()   # only needed by some statements
        self.metadata               = MetaData(self.db)
        self.animal_tools           = AnimalTools(self.metadata, self.db)
        self.animal                 = self.animal_tools.table_create()
        self.metadata.create_all()
dataset/ETHPy150Open kenfar/DataGristle/gristle/tests/test_simplesql.py/TestSurrogateKeyCheckConstraintTable.setup_method/swapped operands of `%`