def test_multiple_runs(self):
    self.assertRunOK('-q', self.pkgdir)
    self.assertTrue(os.path.exists(self.pkgdir_cachedir))
    cachecachedir = os.path.join(self.pkgdir_cachedir, '__pycache__')
    self.assertFalse(os.path.exists(cachecachedir))
    self.assertRunOK('-q', self.pkgdir)
    self.assertTrue(os.path.exists(self.pkgdir_cachedir))
    self.assertFalse(os.path.exists(cachecachedir))
def test_multiple_runs(self):
    self.assertRunOK('-q', self.pkgdir)
    self.assertTrue(os.path.exists(self.pkgdir_cachedir))
    cachecachedir = os.path.join(self.pkgdir_cachedir, '__pycache__')
    self.assertFalse(os.path.exists(cachecachedir))
    self.assertRunOK('-q', self.pkgdir)
    self.assertTrue(os.path.exists(self.pkgdir_cachedir))
    self.assertFalse(os.path.exists(cachecachedir))