mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Refs #23919 -- Removed misc references to Python 2.
This commit is contained in:
parent
c22212220a
commit
d170c63351
34 changed files with 40 additions and 167 deletions
|
|
@ -637,8 +637,6 @@ class CaseExpressionTests(TestCase):
|
|||
def test_update_binary(self):
|
||||
CaseTestModel.objects.update(
|
||||
binary=Case(
|
||||
# fails on postgresql on Python 2.7 if output_field is not
|
||||
# set explicitly
|
||||
When(integer=1, then=Value(b'one', output_field=models.BinaryField())),
|
||||
When(integer=2, then=Value(b'two', output_field=models.BinaryField())),
|
||||
default=Value(b'', output_field=models.BinaryField()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue