Skip to content

Commit 1837f10

Browse files
committed
d updated markdown snippets
1 parent 1d4f28e commit 1837f10

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

approvaltests/namer/inline_comparator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ def get_caller_method(caller_frame) -> Callable:
4444
return caller_function_object
4545

4646
def register(self, options: "Options", inline_options: InlineOptions = None):
47-
inline_options = InlineOptions.show_code() if inline_options is None else inline_options
47+
inline_options = (
48+
InlineOptions.show_code() if inline_options is None else inline_options
49+
)
4850
options2 = options.with_namer(self)
4951
options2 = inline_options.apply(options2)
5052

tests/test_inline_approvals.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ def greeting():
7979
return "hello\nworld"
8080

8181

82-
83-
84-
85-
86-
8782
def test_docstring_parsing():
8883
"""
8984
1
@@ -177,7 +172,4 @@ def test_bug_blank_lines():
177172
178173
179174
"""
180-
verify(
181-
"\n\ntest bug with blank lines\n\n\n\n",
182-
options=Options().inline()
183-
)
175+
verify("\n\ntest bug with blank lines\n\n\n\n", options=Options().inline())

0 commit comments

Comments
 (0)