Lines Matching refs:user_base
43 self.old_base = site.USER_BASE
51 site.USER_BASE = self.old_base
193 'import sys, site; sys.exit(site.USER_BASE.startswith("/tmp"))'],
198 site.USER_BASE = None
199 user_base = site.getuserbase()
201 # the call sets site.USER_BASE
202 self.assertEqual(site.USER_BASE, user_base)
205 site.USER_BASE = None
216 site.USER_BASE = None
219 # the call sets USER_BASE *and* USER_SITE
221 self.assertTrue(user_site.startswith(site.USER_BASE), user_site)