Skip to content

Commit 9d06e08

Browse files
committed
Merge pull request #1989 from UV-CDAT/dotted-line2
Fix flake8 warnings and a test generated file
2 parents abebe40 + 7102a1d commit 9d06e08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Packages/vcs/vcs/VTKPlots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@ def isopened(self):
546546

547547
def geometry(self, *args):
548548
if len(args) == 0:
549-
return self._geometry;
549+
return self._geometry
550550
if len(args) < 2:
551-
raise TypeError("Function takes zero or two <width, height> " \
551+
raise TypeError("Function takes zero or two <width, height> "
552552
"or more than two arguments. Got " + len(*args))
553553
x = args[0]
554554
y = args[1]

testing/vcs/test_vcs_isoline_width_stipple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
isoline.line = ('dot', 'dash', 'solid', 'dash-dot', 'long-dash', 'dot', 'dash')
2626
# Next plot the isolines with labels
2727
canvas.plot(data, isoline, bg=1)
28-
regression.run(canvas, "test_isoline_width_stipple.png")
28+
regression.run(canvas, "test_vcs_isoline_width_stipple.png")

0 commit comments

Comments
 (0)