mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-03-16 22:10:31 +00:00
cleanup: Remove obsolete skipUnless
This commit is contained in:
parent
480cdcfaf9
commit
426a8f5ff6
1 changed files with 1 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue