Fix lambda syntax
authorKarl O. Pinc <kop@meme.com>
Thu, 25 Oct 2018 03:10:57 +0000 (22:10 -0500)
committerKarl O. Pinc <kop@meme.com>
Thu, 25 Oct 2018 03:10:57 +0000 (22:10 -0500)
tests/views/test_logout.py

index 8a3ff7437753ef38e9eab38d2ebe04d15971ab96..dfeb4b950199955399033a58735137daf6b1e700 100644 (file)
@@ -28,7 +28,7 @@ def test_logout_view(monkeypatch):
     '''Deletes the session, returns no errors'''
     # Have the pyramid.view.view_config decorator do nothing
     monkeypatch.setattr(pyramid.view, 'view_config',
-                        lambda **kwargs: (lambda(func): func))
+                        lambda **kwargs: (lambda func: func))
 
     class MockSession():
         def __init__(self):