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

Skip to content

Commit 998ac7e

Browse files
committed
PEP 8.
1 parent 32a27ff commit 998ac7e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/tests/test_style.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def test_context():
6767
# Check that this value is reset after the exiting the context.
6868
assert mpl.rcParams[PARAM] == 'gray'
6969

70+
7071
def test_context_dict():
7172
ORIGINAL = 'gray'
7273
VALUE_OTHER = 'blue'
@@ -75,6 +76,7 @@ def test_context_dict():
7576
assert mpl.rcParams[PARAM] == VALUE_OTHER
7677
assert mpl.rcParams[PARAM] == ORIGINAL
7778

79+
7880
def test_context_dictname1():
7981
# Test dict after style name where dict modifies the same parameter.
8082
ORIGINAL = 'gray'
@@ -85,6 +87,7 @@ def test_context_dictname1():
8587
assert mpl.rcParams[PARAM] == VALUE_OTHER
8688
assert mpl.rcParams[PARAM] == ORIGINAL
8789

90+
8891
def test_context_dictname2():
8992
# Test dict before style name where dict modifies the same parameter.
9093
ORIGINAL = 'gray'
@@ -95,6 +98,7 @@ def test_context_dictname2():
9598
assert mpl.rcParams[PARAM] == VALUE
9699
assert mpl.rcParams[PARAM] == ORIGINAL
97100

101+
98102
def test_context_dictname3():
99103
# Test dict after style name where dict modifies the a different parameter.
100104
ORIGINAL = 'gray'
@@ -110,6 +114,7 @@ def test_context_dictname3():
110114
assert mpl.rcParams[PARAM] == ORIGINAL
111115
assert mpl.rcParams[PARAM_OTHER] == (not VALUE_OTHER)
112116

117+
113118
if __name__ == '__main__':
114119
from numpy import testing
115120
testing.run_module_suite()

0 commit comments

Comments
 (0)