Fixed #32178 -- Allowed database backends to skip tests and mark expected failures.

Co-authored-by: Tim Graham <timograham@gmail.com>
This commit is contained in:
Hasan Ramezani 2020-12-10 18:00:57 +01:00 committed by GitHub
parent 5ce31d6a71
commit 275dd4ebba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 248 additions and 87 deletions

View file

@ -1,6 +1,6 @@
import operator
import uuid
from unittest import mock, skipIf
from unittest import mock
from django import forms
from django.core import serializers
@ -719,10 +719,6 @@ class TestQuerying(TestCase):
objs_with_value,
)
@skipIf(
connection.vendor == 'oracle',
'Raises ORA-00600: internal error code on Oracle 18.',
)
def test_usage_in_subquery(self):
self.assertSequenceEqual(
NullableJSONModel.objects.filter(