Skip to content

Commit db1f571

Browse files
committed
black
1 parent 177bf8c commit db1f571

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

django_enum/tests/tests.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -3219,7 +3219,9 @@ def test_joins(self):
32193219
for obj in self.MODEL_CLASS.objects.annotate(
32203220
exact_matches=Count(
32213221
"related_flags__id",
3222-
filter=Q(**{f"related_flags__{field.name}__exact": F(field.name)}),
3222+
filter=Q(
3223+
**{f"related_flags__{field.name}__exact": F(field.name)}
3224+
),
32233225
)
32243226
):
32253227
self.assertEqual(obj.exact_matches, 1)
@@ -3233,7 +3235,7 @@ def test_joins(self):
32333235
# this is an oracle bug - intermittent failure on
32343236
# perfectly fine date format in SQL
32353237
# TODO - remove when fixed
3236-
#pytest.skip("Oracle bug ORA-00932 encountered - skipping")
3238+
# pytest.skip("Oracle bug ORA-00932 encountered - skipping")
32373239
not_working.append(field.name)
32383240
continue
32393241
raise
@@ -3279,8 +3281,8 @@ def test_joins(self):
32793281
self.assertEqual(obj.any_matches, expected)
32803282

32813283
if not_working:
3282-
print(f'Fields not working: {not_working}')
3283-
print(f'Fields working: {working}')
3284+
print(f"Fields not working: {not_working}")
3285+
print(f"Fields working: {working}")
32843286

32853287
def test_unsupported_flags(self):
32863288
obj = self.MODEL_CLASS.objects.create()

0 commit comments

Comments
 (0)