def _monkeypatch_default_settings(self):
        from rest_framework import settings

        PATCH_REST_FRAMEWORK = {
            # Testing
            'TEST_REQUEST_RENDERER_CLASSES': (
                'rest_framework.renderers.MultiPartRenderer',
                'rest_framework.renderers.JSONRenderer'
            ),
            'TEST_REQUEST_DEFAULT_FORMAT': 'multipart',
        }

        for key, value in PATCH_REST_FRAMEWORK.items():
            if settings.DEFAULTS not in key:
                settings.DEFAULTS[key] = value
dataset/ETHPy150Open chibisov/drf-extensions/tests_app/plugins.py/PrepareRestFrameworkSettingsPlugin._monkeypatch_default_settings/swapped operands of `not in`