diff options
| author | Armin Rigo <arigo@tunes.org> | 2016-01-12 17:10:48 +0100 |
|---|---|---|
| committer | Armin Rigo <arigo@tunes.org> | 2016-01-12 17:10:48 +0100 |
| commit | 796d31560446bfa2e16510149e051bf0a3579b54 (patch) | |
| tree | 4b58d1bcb9d7be50ea37d2186a37f7d052e2c49a /testing/embedding | |
| parent | 21c013dc94d2113da5e4941e6dde608f2fd20c29 (diff) | |
| download | cffi-796d31560446bfa2e16510149e051bf0a3579b54.tar.gz | |
Test and fix
Diffstat (limited to 'testing/embedding')
| -rw-r--r-- | testing/embedding/test_basic.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/embedding/test_basic.py b/testing/embedding/test_basic.py index 84b65cc..a8c0cd3 100644 --- a/testing/embedding/test_basic.py +++ b/testing/embedding/test_basic.py @@ -68,6 +68,10 @@ class EmbeddingTests: match = re.compile(r"\bFILENAME: (.+)").search(output) assert match dynamic_lib_name = match.group(1) + if sys.platform == 'win32': + assert dynamic_lib_name.endswith('_cffi.dll') + else: + assert dynamic_lib_name.endswith('_cffi.so') self._compiled_modules[name] = dynamic_lib_name return self._compiled_modules[name] |
