cpython/Lib/test/test_warnings/__main__.py

import unittest

unittest.main('test.test_warnings')