def test_slots(self):
        classDefinition = (
            "class SlottedClass(object):\n"
            "    __slots__ = ['a']\n")

        exec classDefinition in self.m.__dict__
        inst = self.m.SlottedClass()
        inst.a = 7
        exec classDefinition in self.m.__dict__
        rebuild.updateInstance(inst)
        self.assertEqual(inst.a, 7)
        self.assertIdentical(type(inst), self.m.SlottedClass)
Normalize a file/dir name for comparison purposes
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_rebuild.py/NewStyleTestCase.test_slots--crossover with--dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/pkg_resources/__init__.py/normalize_path