Skip to content

Commit 822ee20

Browse files
committed
Fix pytest warning
1 parent 3565c11 commit 822ee20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/unit/ext/test_flask_py2_py3.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def index():
1111
return "Hello World!"
1212

1313

14-
def test():
14+
def _test():
1515
return "Test!"
1616

1717

@@ -25,7 +25,7 @@ class ApplicationContainer(containers.DeclarativeContainer):
2525
app = flask.Application(Flask, __name__)
2626

2727
index_view = flask.View(index)
28-
test_view = flask.View(test)
28+
test_view = flask.View(_test)
2929
test_class_view = flask.ClassBasedView(Test)
3030

3131

0 commit comments

Comments
 (0)