1
if __name__ == '__main__':
4
pkg_dir = (os.path.split(
7
os.path.abspath(__file__))[0])[0])[0])
8
parent_dir, pkg_name = os.path.split(pkg_dir)
9
is_pygame_pkg = (pkg_name == 'tests' and
10
os.path.split(parent_dir)[1] == 'pygame')
12
sys.path.insert(0, parent_dir)
14
is_pygame_pkg = __name__.startswith('pygame.tests.')
18
class KeyModuleTest(unittest.TestCase):
19
def test_get_focused(self):
22
def test_get_mods(self):
25
def test_get_pressed(self):
31
def test_set_mods(self):
34
def test_set_repeat(self):
37
if __name__ == '__main__':