From bd9342dddead5993500e7978edad7b5e6a0c1f26 Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Mon, 29 Nov 2021 18:27:37 -0800 Subject: no-issue: remove unused import from test_graphlib.py (GH-29853) --- Lib/test/test_graphlib.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/test/test_graphlib.py b/Lib/test/test_graphlib.py index 86246a6..5f38af4 100644 --- a/Lib/test/test_graphlib.py +++ b/Lib/test/test_graphlib.py @@ -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 -- cgit v0.12