GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — no-issue: remove unused import from test_graphlib.py (GH-29853) · python/cpython@bd9342d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Lib/test
    • test_graphlib.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Lib/test/test_graphlib.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_graphlib.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from itertools import chain
21
import graphlib
32
import os
43
import unittest
@@ -34,7 +33,7 @@ def _assert_cycle(self, graph, cycle):
3433
try:
3534
ts.prepare()
3635
except graphlib.CycleError as e:
37-
msg, seq = e.args
36+
_, seq = e.args
3837
self.assertIn(" ".join(map(str, cycle)), " ".join(map(str, seq * 2)))
3938
else:
4039
raise

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.