test_cycles.py: directed graphs raise NetworkXNotImplemented