diff options
| author | Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> | 2021-11-30 02:27:37 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-30 02:27:37 (GMT) |
| commit | bd9342dddead5993500e7978edad7b5e6a0c1f26 (patch) | |
| tree | 681b41a27670c582e00518ebdd37c463ff20ab5f /Lib/test/test_graphlib.py | |
| parent | 734ed3538314c9651ae64d5e2e0e98aae3aec17b (diff) | |
| download | cpython-bd9342dddead5993500e7978edad7b5e6a0c1f26.zip cpython-bd9342dddead5993500e7978edad7b5e6a0c1f26.tar.gz cpython-bd9342dddead5993500e7978edad7b5e6a0c1f26.tar.bz2 | |
no-issue: remove unused import from test_graphlib.py (GH-29853)
Diffstat (limited to 'Lib/test/test_graphlib.py')
| -rw-r--r-- | Lib/test/test_graphlib.py | 3 |
1 files changed, 1 insertions, 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 |
