Skip to content

Commit

Permalink
Update test_subset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Aug 26, 2016
1 parent c82d891 commit 933193d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ def execfunc(self, *args, **kwargs):
from autowig import libclang_parser
for func in dir(libclang_parser):
if func.startswith('read_'):
setattr(libclang_parser, 'func', wrapper(getattr(libclang_parser, func)))
setattr(libclang_parser, func, wrapper(getattr(libclang_parser, func)))

from clanglite import autowig_parser
for func in dir(autowig_parser):
if func.startswith('read_'):
setattr(autowig_parser, 'func', wrapper(getattr(autowig_parser, func)))
setattr(autowig_parser, func, wrapper(getattr(autowig_parser, func)))

class TestSubset(unittest.TestCase):
"""Test the wrapping of a library subset"""
Expand Down

0 comments on commit 933193d

Please sign in to comment.