Skip to content

Commit

Permalink
no-issue: remove unused import from test_graphlib.py (GH-29853)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb authored Nov 30, 2021
1 parent 734ed35 commit bd9342d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Lib/test/test_graphlib.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from itertools import chain
import graphlib
import os
import unittest
Expand Down Expand Up @@ -34,7 +33,7 @@ def _assert_cycle(self, graph, cycle):
try:
ts.prepare()
except graphlib.CycleError as e:
msg, seq = e.args
_, seq = e.args
self.assertIn(" ".join(map(str, cycle)), " ".join(map(str, seq * 2)))
else:
raise
Expand Down

0 comments on commit bd9342d

Please sign in to comment.