diff --git a/unittests/test_parser.py b/unittests/test_parser.py
index 6f3b81e6499e65ceb7ba5c2db13d526153fde8e4..26fd4aa62952eb595de693a409485972fa6a78fa 100644
--- a/unittests/test_parser.py
+++ b/unittests/test_parser.py
@@ -301,6 +301,8 @@ class ExternTest(unittest.TestCase):
 class ErrorMessageTest(unittest.TestCase):
     """Tests for understandable error messages."""
 
+    # Note: This was changed with implementation of role keyword
+    @unittest.expectedFailure
     def test_non_dict(self):
         """When a value is given, where a list or mapping is expected."""
         recordtype_value = """