@skipIf(django.VERSION[:2] >= (1, 10),
            'argument parsing uses a fixed single argument in Django 1.10+')
    def test_invalid_number_of_databases(self):
        with pytest.raises(CommandError) as excinfo:
            call_command('dbparams', 'default', 'default', skip_checks=True)
        assert "more than one connection" in str(excinfo.value)
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/management/commands/test_dbparams.py/DBParamsTests.test_invalid_number_of_databases/original