Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bf38f8b

Browse files
committed
Use os.path.join
1 parent 51c2b2c commit bf38f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/tests/test_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_image_python_io():
8585
@knownfailureif(not HAS_PIL)
8686
def test_imread_pil_uint16():
8787
img = plt.imread(os.path.join(os.path.dirname(__file__),
88-
'baseline_images/test_image/uint16.tif'))
88+
'baseline_images', 'test_image', 'uint16.tif'))
8989
assert (img.dtype == np.uint16)
9090
assert np.sum(img) == 134184960
9191

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /