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)
Assert that an os.path behaves the same in both real and fake contexts.
dataset/ETHPy150Open jmcgeheeiv/pyfakefs/fake_filesystem_vs_real_test.py/FakeFilesystemVsRealTest.assertOsPathMethodBehaviorMatches