Skip to content

Commit 8ed9458

Browse files
author
Ingo Fründ
committed
using != instead of not ===
1 parent 1273dea commit 8ed9458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_axes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6136,12 +6136,12 @@ def test_xtickcolor_is_not_markercolor():
61366136
ax = plt.axes()
61376137
ticks = ax.xaxis.get_major_ticks()
61386138
for tick in ticks:
6139-
assert not tick.tick1line.get_markeredgecolor() == 'white'
6139+
assert tick.tick1line.get_markeredgecolor() != 'white'
61406140

61416141

61426142
def test_ytickcolor_is_not_markercolor():
61436143
plt.rcParams['lines.markeredgecolor'] = 'white'
61446144
ax = plt.axes()
61456145
ticks = ax.yaxis.get_major_ticks()
61466146
for tick in ticks:
6147-
assert not tick.tick1line.get_markeredgecolor() == 'white'
6147+
assert tick.tick1line.get_markeredgecolor() != 'white'

0 commit comments

Comments
 (0)