Skip to content

Commit

Permalink
bugfix test #1133
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Dec 26, 2023
1 parent c401be4 commit 36e4e18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_regressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3262,6 +3262,7 @@ def view_func(request, format=None):
}


@pytest.mark.skipif(DJANGO_VERSION < '3.0', reason='generic JSONField not available')
@mock.patch('drf_spectacular.settings.spectacular_settings.OAS_VERSION', '3.1.0')
def test_basic_oas_3_1_nullable_cases(no_warnings, django_transforms):
class M14(models.Model):
Expand Down

0 comments on commit 36e4e18

Please sign in to comment.