Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2207bfe

Browse files
committed
MAINT tests should not use relative imports
If they do, they cannot be run independantly
1 parent 9edcb03 commit 2207bfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_animation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
import matplotlib as mpl
1414
from matplotlib import pyplot as plt
1515
from matplotlib import animation
16-
from ..testing import xfail, skip
17-
from ..testing.decorators import cleanup
16+
from matplotlib.testing import xfail, skip
17+
from matplotlib.testing.decorators import cleanup
1818

1919

2020
class NullMovieWriter(animation.AbstractMovieWriter):

0 commit comments

Comments
 (0)