diff options
Diffstat (limited to 'django/test/utils.py')
| -rw-r--r-- | django/test/utils.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/django/test/utils.py b/django/test/utils.py index f98d52b514..a5307a4310 100644 --- a/django/test/utils.py +++ b/django/test/utils.py @@ -521,9 +521,11 @@ def patch_logger(logger_name, log_level, log_kwargs=False): # don't enforce a specific timezone (with timezone.override or equivalent), # or attempt to interpret naive datetimes in the default timezone. -requires_tz_support = skipUnless(TZ_SUPPORT, - "This test relies on the ability to run a program in an arbitrary " - "time zone, but your operating system isn't able to do that.") +requires_tz_support = skipUnless( + TZ_SUPPORT, + "This test relies on the ability to run a program in an arbitrary " + "time zone, but your operating system isn't able to do that." +) @contextmanager |
