diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-06 20:39:53 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-06 20:39:53 +0100 |
| commit | 4832320e8d5038d0454cc3e1dd1dc177d0419fa9 (patch) | |
| tree | e0b4567a29f988e99f72a30bef335b325ad55f83 | |
| parent | 40c60efecc0fc73f0b2320b44d684586b52ee799 (diff) | |
Updated obsolete comment.
| -rw-r--r-- | django/test/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/test/utils.py b/django/test/utils.py index 619f9cd0f4..dc1754dbff 100644 --- a/django/test/utils.py +++ b/django/test/utils.py @@ -231,7 +231,7 @@ class modify_settings(override_settings): """ def __init__(self, *args, **kwargs): if args: - # Hack used when instantiating from SimpleTestCase._pre_setup. + # Hack used when instantiating from SimpleTestCase.setUpClass. assert not kwargs self.operations = args[0] else: @@ -250,7 +250,7 @@ class modify_settings(override_settings): self.options = {} for name, operations in self.operations: try: - # When called from SimpleTestCase._pre_setup, values may be + # When called from SimpleTestCase.setUpClass, values may be # overridden several times; cumulate changes. value = self.options[name] except KeyError: |
