summaryrefslogtreecommitdiff
path: root/tests/test_runner/deprecation_app/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_runner/deprecation_app/tests.py')
-rw-r--r--tests/test_runner/deprecation_app/tests.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_runner/deprecation_app/tests.py b/tests/test_runner/deprecation_app/tests.py
new file mode 100644
index 0000000000..e676c3e3d5
--- /dev/null
+++ b/tests/test_runner/deprecation_app/tests.py
@@ -0,0 +1,9 @@
+import warnings
+
+from django.test import TestCase
+
+class DummyTest(TestCase):
+ def test_warn(self):
+ warnings.warn("warning from test", DeprecationWarning)
+
+