"""Tests for packaging.depgraph """ import io import os import re import sys import packaging.database from packaging import depgraph from packaging.tests import unittest, support class DepGraphTestCase(support.LoggingCatcher, unittest.TestCase): DISTROS_DIST = ('choxie', 'grammar', 'towel-stuff') DISTROS_EGG = ('bacon', 'banana', 'strawberry', 'cheese') BAD_EGGS = ('nut',) EDGE = re.compile( r'"(?P.*)" -> "(?P.*)" \[label="(?P