Intelegentny_Pszczelarz/.venv/Lib/site-packages/pygame/tests/run_tests__tests/all_ok/zero_tests_test.py

24 lines
545 B
Python
Raw Normal View History

2023-03-18 12:55:22 +01:00
if __name__ == "__main__":
import sys
import os
pkg_dir = os.path.split(
os.path.split(os.path.split(os.path.abspath(__file__))[0])[0]
)[0]
parent_dir, pkg_name = os.path.split(pkg_dir)
is_pygame_pkg = pkg_name == "tests" and os.path.split(parent_dir)[1] == "pygame"
if not is_pygame_pkg:
sys.path.insert(0, parent_dir)
else:
is_pygame_pkg = __name__.startswith("pygame.tests.")
import unittest
class KeyModuleTest(unittest.TestCase):
pass
if __name__ == "__main__":
unittest.main()