mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01: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)
|