def test_dumpdata_pyyaml_error_message(self):
        with self.assertRaisesMessage(management.CommandError, YAML_IMPORT_ERROR_MESSAGE):
            management.call_command('dumpdata', format='yaml')
An unattached volume can be destroyed using ``destroy_volume``.
dataset/ETHPy150Open django/django/tests/serializers/test_yaml.py/NoYamlSerializerTestCase.test_dumpdata_pyyaml_error_message--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/testtools/_blockdevice.py/IBlockDeviceAPITestsMixin.test_destroy_volume