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

Appearance settings

Commit 998ac7e

Browse filesBrowse files
committed
PEP 8.
1 parent 32a27ff commit 998ac7e
Copy full SHA for 998ac7e

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎lib/matplotlib/tests/test_style.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_style.py
+5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.