mirror of
https://github.com/django/django.git
synced 2024-12-24 18:16:19 +00:00
c3791463a5
Signed-off-by: Jason Myers <jason@jasonamyers.com>
11 lines
247 B
Python
11 lines
247 B
Python
import warnings
|
|
|
|
from django.test import TestCase
|
|
|
|
warnings.warn("module-level warning from deprecation_app", DeprecationWarning)
|
|
|
|
|
|
class DummyTest(TestCase):
|
|
def test_warn(self):
|
|
warnings.warn("warning from test", DeprecationWarning)
|