summaryrefslogtreecommitdiff
path: root/tests/sitecustomize.py
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-09-04 12:30:49 -0400
committerNatalia <124304+nessita@users.noreply.github.com>2023-09-07 15:47:26 -0300
commit1ab2cf7994a6f1116a96fbaedd7cadbd4b754179 (patch)
tree7a666d9535d0686269d2c5a21a97995e520b633f /tests/sitecustomize.py
parent254df3a3bbc2f4df51f9e2070ab2e214553f67d0 (diff)
Fixed #34810 -- Measured test coverage on django-admin commands.
Diffstat (limited to 'tests/sitecustomize.py')
-rw-r--r--tests/sitecustomize.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sitecustomize.py b/tests/sitecustomize.py
new file mode 100644
index 0000000000..03fbf0c181
--- /dev/null
+++ b/tests/sitecustomize.py
@@ -0,0 +1,6 @@
+try:
+ import coverage
+except ImportError:
+ pass
+else:
+ coverage.process_startup()