mirror of
https://github.com/python/cpython.git
synced 2025-10-23 18:03:48 +00:00

This should make the Linux distros happy as it is now easier to leave importlib's tests out of their base Python distribution.
13 lines
284 B
Python
13 lines
284 B
Python
from .. import test_suite
|
|
import os.path
|
|
import unittest
|
|
|
|
|
|
def test_suite():
|
|
directory = os.path.dirname(__file__)
|
|
return test.test_suite('importlib.test.source', directory)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
from test.support import run_unittest
|
|
run_unittest(test_suite())
|