def testFlavorChanges(self):
        (built, d) = self.setupRecipes(withBinary=MIXED, withUse=True)
        vers = [ x[1] for x in built ]
        flavors = [ deps.formatFlavor(x[2]) for x in built ]
        pkgname = built[0][0]

        # test going from a trove without instruction set to a trove with one
        self.updatePkg(self.rootDir, pkgname, vers[0], flavor = flavors[0])
        self.updatePkg(self.rootDir, pkgname, vers[2], flavor = flavors[2])
        db = database.Database(self.rootDir, self.cfg.dbPath)
        assert(db.getTroveVersionList(pkgname)[0].asString() == vers[2])
        db.close()

        # test going from a trove with instrunction set to a trove without one
        self.resetRoot()
        self.updatePkg(self.rootDir, pkgname, vers[2], flavor = flavors[2])
        self.updatePkg(self.rootDir, pkgname, vers[0], flavor = flavors[0])
        db = database.Database(self.rootDir, self.cfg.dbPath)
        assert(db.getTroveVersionList(pkgname)[0].asString() == vers[0])
        db.close()
This method serves as a hook for other logic parsers that
dataset/ETHPy150Open sassoftware/conary/conary_test/updatetest.py/UpdateTest.testFlavorChanges--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/sem/drt.py/DrtParser.make_EqualityExpression