diff options
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/conftest.py b/unittest/conftest.py index c8d51af..04e85ff 100644 --- a/unittest/conftest.py +++ b/unittest/conftest.py @@ -22,7 +22,7 @@ def C(request): a = iter(declarations) for declaration in a: - if declaration.startswith('NK_C_API'): + if declaration.strip().startswith('NK_C_API'): declaration = declaration.replace('NK_C_API', '').strip() while ';' not in declaration: declaration += (next(a)).strip() |