Source

pygame / test / key_test.py

Full commit
import unittest
import pygame
import pygame.display


class KeyTest (unittest.TestCase):

    def test_import(self):
        'does it import'
        import pygame.key

    def test_get_repeat(self):
        pass
        # the line below won't work because you need a window
        #delay, interval = pygame.key.get_repeat()

    def test_add_more_tests(self):
        'we need to add more tests'
        pass
        #raise NotImplementedError("TODO: key tests need improving.")



if __name__ == '__main__':
    unittest.main()