def test_chdir(self):
        cwd = os.getcwd()

        def chAndBreak():
            os.mkdir('releaseCh')
            os.chdir('releaseCh')
            1 // 0

        self.assertRaises(ZeroDivisionError,
                          release.runChdirSafe, chAndBreak)
        self.assertEqual(cwd, os.getcwd())
Pare text to have maximum size and add etc to the end if it's
dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_release.py/UtilityTests.test_chdir--crossover with--dataset/ETHPy150Open SmartTeleMax/iktomi/iktomi/utils/text.py/pare