Sign in
chromium
/
external
/
googleappengine
/
python
/
24a47c532460d92438b3a42347dd83862a7ed4c8
/
.
/
lib
/
django-1.5
/
tests
/
regressiontests
/
test_runner
/
deprecation_app
/
tests.py
blob: 6dee0888ec53d35bae848153a590a7739d0ab04e [
file
] [
log
] [
blame
]
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
)