Browse files

Moar python3 compat

  • Loading branch information...
1 parent eb73710 commit fdf6d8ba01058077691c2823738cc859030b48e9 @misaelnieto misaelnieto committed Mar 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pyramid_handlers/tests.py
View
2 pyramid_handlers/tests.py
@@ -551,7 +551,7 @@ def test_it(self):
from pyramid_handlers import includeme
c = Configurator(autocommit=True)
c.include(includeme)
- self.assertTrue(c.add_handler.im_func.__docobj__ is add_handler)
+ self.assertTrue(c.add_handler.__func__.__docobj__ is add_handler)
class DummyHandler(object): # pragma: no cover
def __init__(self, request):

0 comments on commit fdf6d8b

Please sign in to comment.