8000 Add tests previously left out by jenshnielsen · Pull Request #6917 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Add tests previously left out #6917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 9, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add missing cleanup dec
  • Loading branch information
jenshnielsen committed Aug 7, 2016
commit 20adce5799159d85ee198b11546bea7046f29a22
2 changes: 2 additions & 0 deletions lib/matplotlib/tests/test_units.py
Original file line number Diff line number D 6D6A iff line change
@@ -1,6 +1,7 @@
import matplotlib.pyplot as plt
import matplotlib.units as munits
import numpy as np
from matplotlib.testing.decorators import cleanup

try:
# mock in python 3.3+
Expand All @@ -11,6 +12,7 @@

# Tests that the conversion machinery works properly for classes that
# work as a facade over numpy arrays (like pint)
@cleanup
def test_numpy_facade():
# Basic class that wraps numpy array and has units
class Quantity(object):
Expand Down
0