Skip to content

Commit c070e40

Browse files
committed
test: close_on_teardown=False
Get from second connection may be executed before Set on first connection. This cause test failure.
1 parent 7bdf26c commit c070e40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_flask_pymemcache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_simple(self):
1515
app.config['PYMEMCACHE'] = {
1616
'server': ('localhost', 11211),
1717
'key_prefix': b'px',
18-
'close_on_teardown': True}
18+
'close_on_teardown': False}
1919
memcache.init_app(app)
2020

2121
with app.app_context():

0 commit comments

Comments
 (0)