|
1931
|
1 #################################### IMPORTS ###################################
|
|
|
2
|
|
|
3 from __future__ import generators
|
|
|
4
|
|
|
5 if __name__ == '__main__':
|
|
|
6 import sys
|
|
|
7 import os
|
|
|
8 pkg_dir = os.path.split(os.path.abspath(__file__))[0]
|
|
|
9 parent_dir, pkg_name = os.path.split(pkg_dir)
|
|
|
10 is_pygame_pkg = (pkg_name == 'tests' and
|
|
1932
|
11 os.path.split(parent_dir)[1] == 'pygame')
|
|
1931
|
12 if not is_pygame_pkg:
|
|
|
13 sys.path.insert(0, parent_dir)
|
|
|
14 else:
|
|
|
15 is_pygame_pkg = __name__.startswith('pygame.tests.')
|
|
|
16
|
|
|
17 if is_pygame_pkg:
|
|
|
18 from pygame.tests.test_utils import test_not_implemented, unittest
|
|
|
19 else:
|
|
|
20 from test.test_utils import test_not_implemented, unittest
|
|
|
21 import pygame
|
|
|
22 from pygame.compat import long_
|
|
|
23 import math
|
|
|
24
|
|
|
25 #################################### Tests #####################################
|
|
|
26
|
|
|
27 class CameraModuleTest(unittest.TestCase):
|
|
|
28 pass
|
|
|
29
|