Source

pygame / test / key_test.py

Diff from to

File test/key_test.py

 import unittest
 import pygame
+import pygame.display
 
 
 class KeyTest (unittest.TestCase):
         'does it import'
         import pygame.key
 
-
     def test_get_repeat(self):
-        delay, interval = pygame.key.get_repeat()
+        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'