from graphviz2drawio import graphviz2drawio as gv
for i in range(2):
gv.convert("./test/directed/hello.gv.txt")
results in failure:
Error: syntax error in line 1 near '"'
Traceback (most recent call last):
File "/home/jonah/.local/lib/python3.6/site-packages/pygraphviz/agraph.py", line 1201, in read
self.handle = gv.agread(fh, None)
ValueError: agread: bad input data
Not sure why this causes a segfault in pytest but it looks like pygraphviz is not closing and reopening the file or otherwise properly resetting the read offset somewhere under the hood.
simple test:
results in failure:
Not sure why this causes a segfault in pytest but it looks like pygraphviz is not closing and reopening the file or otherwise properly resetting the read offset somewhere under the hood.