dev-ros/genpy: bump to 0.6.11
[gentoo.git] / dev-ros / genpy / files / yaml.patch
1 Index: genpy-0.6.11/test/test_genpy_message.py
2 ===================================================================
3 --- genpy-0.6.11.orig/test/test_genpy_message.py
4 +++ genpy-0.6.11/test/test_genpy_message.py
5 @@ -612,7 +612,7 @@ d: """ + """
6          def roundtrip(m):
7              yaml_text = strify_message(m)
8              print(yaml_text)
9 -            loaded = yaml.load(yaml_text)
10 +            loaded = yaml.safe_load(yaml_text)
11              print('loaded', loaded)
12              new_inst = m.__class__()
13              if loaded is not None: