cleanup: Remove obsolete skipUnless

This commit is contained in:
Serg Tereshchenko 2022-07-13 19:39:16 +03:00
parent 480cdcfaf9
commit 426a8f5ff6

View file

@ -5,9 +5,7 @@ import os
import shutil
import sys
from decimal import Decimal
from unittest import skipUnless
import django
import pytest
import six
from django import forms
@ -3014,8 +3012,7 @@ class TestManager(ModeltranslationTestBase):
o.title = "bla"
assert o.title == "bla"
@skipUnless(django.VERSION[0] >= 2, 'Applicable only to django > 2.x')
def test_select_related_django_2(self):
def test_select_related(self):
test = models.TestModel.objects.create(title_de='title_de', title_en='title_en')
with auto_populate('all'):
models.ForeignKeyModel.objects.create(untrans=test)