diff options
| author | Armin Rigo <arigo@tunes.org> | 2013-10-10 09:34:48 +0200 |
|---|---|---|
| committer | Armin Rigo <arigo@tunes.org> | 2013-10-10 09:34:48 +0200 |
| commit | d892fff022aaa3465ee61af81a4415e30f683edd (patch) | |
| tree | 945a35f31c78a07520a7d14e800f44ccc4e5361c /testing | |
| parent | b5db81cb68bca487418f6d280f767b5e171dd434 (diff) | |
| download | cffi-d892fff022aaa3465ee61af81a4415e30f683edd.tar.gz | |
Fix the test for 77da9e592d23.
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/test_zdistutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test_zdistutils.py b/testing/test_zdistutils.py index b6b84a5..692eebd 100644 --- a/testing/test_zdistutils.py +++ b/testing/test_zdistutils.py @@ -1,7 +1,7 @@ import sys, os, imp, math, shutil import py from cffi import FFI, FFIError -from cffi.verifier import Verifier, _locate_engine_class, _get_so_suffix +from cffi.verifier import Verifier, _locate_engine_class, _get_so_suffixes from cffi.ffiplatform import maybe_relative_path from testing.udir import udir @@ -249,7 +249,7 @@ class DistUtilsTest(object): lib = ffi.verify(csrc, force_generic_engine=self.generic, modulename=modname) assert lib.test1foo(143) == 80.0 - suffix = _get_so_suffix() + suffix = _get_so_suffixes()[0] fn1 = os.path.join(ffi.verifier.tmpdir, modname + '.c') fn2 = os.path.join(ffi.verifier.tmpdir, modname + suffix) assert ffi.verifier.sourcefilename == fn1 |
