mirror of
https://github.com/django/django.git
synced 2024-11-18 15:34:16 +00:00
909433fa50
Silenced warnings caused by the deprecation of django.utils.unittest. Thanks Preston Timmons and Carl Meyer for their advice. Fixed #20680.
16 lines
283 B
Python
16 lines
283 B
Python
from unittest import TestCase
|
|
|
|
from django.test import TestCase as DjangoTestCase
|
|
|
|
|
|
class TestVanillaUnittest(TestCase):
|
|
|
|
def test_sample(self):
|
|
self.assertEqual(1, 1)
|
|
|
|
|
|
class TestDjangoTestCase(DjangoTestCase):
|
|
|
|
def test_sample(self):
|
|
self.assertEqual(1, 1)
|