diff options
author | Hasan Ramezani <hasan.r67@gmail.com> | 2020-12-10 18:00:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 18:00:57 +0100 |
commit | 275dd4ebbabbbe758c7219a3d666953d5a7b072f (patch) | |
tree | d0534f7047f9ba43525368eda2c121df54801d4c /tests/expressions | |
parent | 5ce31d6a7142ca8c76d6b52fa42b3406b9a8ff48 (diff) | |
download | django-275dd4ebbabbbe758c7219a3d666953d5a7b072f.tar.gz |
Fixed #32178 -- Allowed database backends to skip tests and mark expected failures.
Co-authored-by: Tim Graham <timograham@gmail.com>
Diffstat (limited to 'tests/expressions')
-rw-r--r-- | tests/expressions/tests.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py index d8d8370cb3..463150f8a1 100644 --- a/tests/expressions/tests.py +++ b/tests/expressions/tests.py @@ -1230,13 +1230,11 @@ class ExpressionOperatorTests(TestCase): self.assertEqual(Number.objects.get(pk=self.n.pk).integer, 1764) self.assertEqual(Number.objects.get(pk=self.n.pk).float, Approximate(61.02, places=2)) - @unittest.skipIf(connection.vendor == 'oracle', "Oracle doesn't support bitwise XOR.") def test_lefthand_bitwise_xor(self): Number.objects.update(integer=F('integer').bitxor(48)) self.assertEqual(Number.objects.get(pk=self.n.pk).integer, 26) self.assertEqual(Number.objects.get(pk=self.n1.pk).integer, -26) - @unittest.skipIf(connection.vendor == 'oracle', "Oracle doesn't support bitwise XOR.") def test_lefthand_bitwise_xor_null(self): employee = Employee.objects.create(firstname='John', lastname='Doe') Employee.objects.update(salary=F('salary').bitxor(48)) |