Lenard Lindstrom avatar Lenard Lindstrom committed 246c905

undo broken rev 2111

Comments (0)

Files changed (9)

test/font_test.py

-__tags__ = []
-
-try:
-    import pygame.font
-except NotImplementedError:
-    print ("pygame.font not included in this build.")
-    __tags__.append('not_implemented')
-except Exception:
-    pass
-
 if __name__ == '__main__':
     import sys
     import os

test/mixer_music_test.py

-__tags__ = []
-
-try:
-    import pygame.mixer_music
-except ImportError:
-    print ("pygame.mixer.music not included in this build.")
-    __tags__.append('not_implemented')
-except Exception:
-    pass
-
 if __name__ == '__main__':
     import sys
     import os

test/mixer_test.py

-__tags__ = []
-
-try:
-    import pygame.mixer
-except NotImplementedError:
-    print ("pygame.mixer not included in this build.")
-    __tags__.append('not_implemented')
-except Exception:
-    pass
-
 #################################### IMPORTS ###################################
 
 if __name__ == '__main__':

test/movie_test.py

-__tags__ = []
-
-try:
-    import pygame.movie
-except NotImplementedError:
-    print ("pygame.movie not included in this build.")
-    __tags__.append('not_implemented')
-except Exception:
-    pass
-
 if __name__ == '__main__':
     import sys
     import os

test/scrap_test.py

-__tags__ = []
-
-try:
-    import pygame.scrap
-except NotImplementedError:
-    print ("pygame.scrap not included in this build.")
-    __tags__.append('not_implemented')
-except Exception:
-    pass
-
 if __name__ == '__main__':
     import sys
     import os

test/sndarray_test.py

 __tags__ = ['array']
 
-try:
-    import numpy
-except ImportError:
-    try:
-        import Numeric
-    except ImportError:
-        print ("no array package found")
-        __tags__.append('not_implemented')
-
 if __name__ == '__main__':
     import sys
     import os

test/surfarray_test.py

 __tags__ = ['array']
 
-try:
-    import numpy
-except ImportError:
-    try:
-        import Numeric
-    except ImportError:
-        __tags__.append('not_implemented')
-
 if __name__ == '__main__':
     import sys
     import os

test/test_utils/run_tests.py

 
     Individual test modules may have a __tags__ attribute, a list of tag strings
     used to selectively omit modules from a run. By default only 'interactive'
-    and 'not_implemented' modules are ignored. An interactive module such as
-    cdrom takes user input. A 'not_implemented' module tests a pygame module
-    not available in the current build, either because it was not built, or
-    because some external dependency was not found. These have to be run from
-    the system console as a Python programs.
+    modules such as cdrom_test are ignored. An interactive module must be run
+    from the console as a Python program.
 
     This function can only be called once per Python session. It is not
     reentrant.

test/test_utils/test_runner.py

 # DEFAULTS
 
 opt_parser.set_defaults (
-    exclude = 'interactive, not_implemented'
+    exclude = 'interactive',
 )
 
 ################################################################################
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.