Unverified Commit 2c0590d7 authored by Sébastien Gardoll's avatar Sébastien Gardoll Committed by GitHub
Browse files

Create test_yaml.py

parent 0984abe4
import yaml
class Simple:
def __init__(self):
self.id = 0
self.name = 'toto'
self.list = ['1', '2', '3']
tmp = Simple()
yaml_content = yaml.dump(s)
tmp2 = yaml.load(yaml_content)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment