diff options
Diffstat (limited to 'django/test/__init__.py')
| -rw-r--r-- | django/test/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/django/test/__init__.py b/django/test/__init__.py index 957b293e12..e5647243f2 100644 --- a/django/test/__init__.py +++ b/django/test/__init__.py @@ -4,3 +4,10 @@ Django Unit Test and Doctest framework. from django.test.client import Client from django.test.testcases import TestCase, TransactionTestCase + +class SkippedTest(Exception): + def __init__(self, reason): + self.reason = reason + + def __str__(self): + return self.reason
\ No newline at end of file |
