blob: 4882572b39344bff338251b52e85cb3e839e0132 [file] [log] [blame]
# Tests to make sure helpers we backport are actually working!
from unittest import TestCase
from .support import uncache
class TestUncache(TestCase):
def test_cant_uncache_sys(self):
with self.assertRaises(ValueError):
with uncache('sys'): pass
def test_uncache_non_existent(self):
with uncache('mock.tests.support.bad'): pass