Skip to content

Commit c4a824e

Browse files
committed
fix up test failures caused through rebase
1 parent 6c46f42 commit c4a824e

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

lib/matplotlib/tests/test_animation.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ def animate(i):
6464
anim.save(filename, fps=fps, dpi=dpi, writer=writer,
6565
savefig_kwargs=savefig_kwargs)
6666

67-
assert_equal(writer.fig, fig)
68-
assert_equal(writer.outfile, filename)
69-
assert_equal(writer.dpi, dpi)
70-
assert_equal(writer.args, ())
71-
assert_equal(writer.savefig_kwargs, savefig_kwargs)
72-
assert_equal(writer._count, num_frames)
67+
assert writer.fig == fig
68+
assert writer.outfile == filename
69+
assert writer.dpi == dpi
70+
assert writer.args == ()
71+
assert writer.savefig_kwargs == savefig_kwargs
72+
assert writer._count == num_frames
7373

7474

7575
@animation.writers.register('null')

lib/matplotlib/tests/test_lines.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88
import itertools
99
import matplotlib as mpl
1010
import matplotlib.lines as mlines
11-
import nose
12-
from nose.tools import assert_true, assert_raises
13-
import pytest
1411
from timeit import repeat
1512
import numpy as np
16-
1713
import matplotlib.pyplot as plt
1814
from matplotlib.testing.decorators import cleanup, image_comparison
1915
import sys
16+
import pytest
2017

2118

2219
@cleanup

0 commit comments

Comments
 (0)