summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_module/another_bad_module.py
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2022-02-03 20:24:19 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch)
treef0506b668a013d0063e5fba3dbf4863b466713ba /tests/utils_tests/test_module/another_bad_module.py
parentf68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff)
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'tests/utils_tests/test_module/another_bad_module.py')
-rw-r--r--tests/utils_tests/test_module/another_bad_module.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/utils_tests/test_module/another_bad_module.py b/tests/utils_tests/test_module/another_bad_module.py
index 766456242d..769bb2b246 100644
--- a/tests/utils_tests/test_module/another_bad_module.py
+++ b/tests/utils_tests/test_module/another_bad_module.py
@@ -1,9 +1,11 @@
from . import site
-content = 'Another Bad Module'
+content = "Another Bad Module"
-site._registry.update({
- 'foo': 'bar',
-})
+site._registry.update(
+ {
+ "foo": "bar",
+ }
+)
-raise Exception('Some random exception.')
+raise Exception("Some random exception.")