summaryrefslogtreecommitdiff
path: root/test/test_serialize.py
Commit message (Collapse)AuthorAgeFilesLines
* Change Graph.serialize to throw for invalid destinationsIwan Aucamp2021-09-121-0/+17
| | | | | | | | | `Graph.serialize` was just logging a warning if the supplied `destination` was not valid, but it would be better to fail if the method does not perform the requested operation. This change makes `Graph.serialize` throw if the supplied `destination` can't be written to.
* Add pathlib.PurePath support for Graph.{serialize,parse}Iwan Aucamp2021-06-291-0/+43
Graph.parse did already support pathlib.Path but there is no good reason to not support PurePath AFAICT.