blob: 22925736fc3c8b1b3f5c86d928dcbac4ab7ce7cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import warnings
from django.test import TestCase
from django.utils.deprecation import RemovedInNextVersionWarning
warnings.warn("module-level warning from deprecation_app", RemovedInNextVersionWarning)
class DummyTest(TestCase):
def test_warn(self):
warnings.warn("warning from test", RemovedInNextVersionWarning)
|