mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
no-issue: remove unused import from test_graphlib.py (GH-29853)
This commit is contained in:
parent
734ed35383
commit
bd9342ddde
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
from itertools import chain
|
||||
import graphlib
|
||||
import os
|
||||
import unittest
|
||||
|
@ -34,7 +33,7 @@ class TestTopologicalSort(unittest.TestCase):
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue