diff options
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r-- | Lib/test/test_support.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 4a45617..948c645 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -1,5 +1,8 @@ """Supporting definitions for the Python regression test.""" +if __name__ != 'test.test_support': + raise ImportError, 'test_support must be imported from the test package' + import sys class Error(Exception): |