aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pypy/module/imp/test/test_app.py')
-rw-r--r--pypy/module/imp/test/test_app.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pypy/module/imp/test/test_app.py b/pypy/module/imp/test/test_app.py
index e96588fbf2..49b3ad5f0f 100644
--- a/pypy/module/imp/test/test_app.py
+++ b/pypy/module/imp/test/test_app.py
@@ -47,6 +47,9 @@ class AppTestImpModule:
elif mode == self.imp.PY_COMPILED:
assert suffix in ('.pyc', '.pyo')
assert type == 'rb'
+ elif mode == self.imp.C_EXTENSION:
+ assert suffix.endswith(('.pyd', '.so'))
+ assert type == 'rb'
def test_obscure_functions(self):