summaryrefslogtreecommitdiffstats
path: root/rtemsspec/tests/test_items_itemcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsspec/tests/test_items_itemcache.py')
-rw-r--r--rtemsspec/tests/test_items_itemcache.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/rtemsspec/tests/test_items_itemcache.py b/rtemsspec/tests/test_items_itemcache.py
index 6cb35e3e..ba1ed859 100644
--- a/rtemsspec/tests/test_items_itemcache.py
+++ b/rtemsspec/tests/test_items_itemcache.py
@@ -108,11 +108,7 @@ def test_load_link_error(tmpdir):
def test_load_yaml_error(tmpdir):
config = create_item_cache_config_and_copy_spec(tmpdir,
"spec-item-cache-3")
- match = r"""YAML error while loading specification item file '.*invalid.yml': while parsing a block mapping
-expected <block end>, but found ':'
- in "<unicode string>", line 1, column 1:
- :
- \^"""
+ match = r"YAML error while loading specification item file '.*invalid.yml': while parsing a block mapping"
with pytest.raises(IOError, match=match):
ItemCache(config)