summaryrefslogtreecommitdiff
path: root/tests/queries
diff options
context:
space:
mode:
Diffstat (limited to 'tests/queries')
-rw-r--r--tests/queries/tests.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/queries/tests.py b/tests/queries/tests.py
index e930d6d1cb..48b57376f9 100644
--- a/tests/queries/tests.py
+++ b/tests/queries/tests.py
@@ -2621,14 +2621,10 @@ class UnionTests(unittest.TestCase):
class DefaultValuesInsertTest(TestCase):
def test_no_extra_params(self):
- # Ticket #17056 -- affects Oracle
- try:
- DumbCategory.objects.create()
- except TypeError:
- self.fail(
- "Creation of an instance of a model with only the PK field "
- "shouldn't error out after bulk insert refactoring (#17056)"
- )
+ """
+ Can create an instance of a model with only the PK field (#17056)."
+ """
+ DumbCategory.objects.create()
class ExcludeTests(TestCase):