Skip to content

Commit

Permalink
Remove __func__ to compare assert
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw committed Sep 4, 2017
1 parent e5f2544 commit 6f1d5cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gaphas/tests/test_state.py
Expand Up @@ -50,5 +50,5 @@ def test_adding_pair(self):
bind1={'before': lambda self, node: self.l[self.l.index(node) + 1]}
)

self.assertTrue(SList.add.__func__ in _reverse)
self.assertTrue(SList.remove.__func__ in _reverse)
self.assertTrue(SList.add in _reverse)
self.assertTrue(SList.remove in _reverse)

0 comments on commit 6f1d5cf

Please sign in to comment.