This avoids generating a large file in the source tree that we don't need. In my
runs in a Linux VM, this also significantly speeds up the test suite.
Closes #1720.
import sys\r
\r
\r
-TEST_DIR = os.path.dirname(os.path.realpath(__file__))\r
-\r
-\r
class TestLargeGraphs(TestCase):\r
@skipIf(sys.platform == 'win32', reason='https://gitlab.com/graphviz/graphviz/-/issues/1710')\r
def test_long_chain(self):\r
graph.render("long_chain")\r
"""\r
subprocess.check_call([\r
- 'dot', '-Tsvg', '-O', os.path.join(TEST_DIR, 'long_chain')\r
+ 'dot', '-Tsvg', '-O', os.devnull\r
])\r