1
__tags__ = ['invisible']
3
if __name__ == '__main__':
6
pkg_dir = (os.path.split(
9
os.path.abspath(__file__))[0])[0])[0])
10
parent_dir, pkg_name = os.path.split(pkg_dir)
11
is_pygame_pkg = (pkg_name == 'tests' and
12
os.path.split(parent_dir)[1] == 'pygame')
14
sys.path.insert(0, parent_dir)
16
is_pygame_pkg = __name__.startswith('pygame.tests.')
20
class KeyModuleTest(unittest.TestCase):
21
def test_get_focused(self):
24
def test_get_mods(self):
27
def test_get_pressed(self):
33
def test_set_mods(self):
36
def test_set_repeat(self):
39
if __name__ == '__main__':