def assertOsPathMethodBehaviorMatches(self, method_name, path,
                                                                                method_returns_path=False):
        path = Sep(path)
        diff = self.DiffOsPathMethodBehavior(method_name, path, method_returns_path)
        if diff:
            self.fail(diff)
Create a DiscreteChoiceModel instance from a saved YAML configuration.
dataset/ETHPy150Open jmcgeheeiv/pyfakefs/fake_filesystem_vs_real_test.py/FakeFilesystemVsRealTest.assertOsPathMethodBehaviorMatches--crossover with--dataset/ETHPy150Open UDST/urbansim/urbansim/models/dcm.py/MNLDiscreteChoiceModel.from_yaml