diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-01-05 00:12:51 +0200 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2020-01-05 00:12:51 +0200 |
commit | 03ee4e3e2249e114bfc7375ad4abd2f4320e05bd (patch) | |
tree | 71c4a2e91a0104be60cb75a257ed1c531b084604 /testing | |
parent | 0e3aa45f0edb076fe282461509d8a19effd3d8f5 (diff) | |
download | cffi-03ee4e3e2249e114bfc7375ad4abd2f4320e05bd.tar.gz |
tweak how to pass define_macros, shorten module name to not go over 260 chars
Diffstat (limited to 'testing')
-rw-r--r-- | testing/cffi0/test_zdistutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/cffi0/test_zdistutils.py b/testing/cffi0/test_zdistutils.py index b67b105..35b3d0c 100644 --- a/testing/cffi0/test_zdistutils.py +++ b/testing/cffi0/test_zdistutils.py @@ -89,7 +89,7 @@ class DistUtilsTest(object): csrc = '/*hi there %s!2*/\n#include <math.h>\n' % self v = Verifier(ffi, csrc, force_generic_engine=self.generic, libraries=[self.lib_m]) - basename = self.__class__.__name__ + 'test_compile_module' + basename = self.__class__.__name__[:10] + '_test_compile_module' v.modulefilename = filename = str(udir.join(basename + '.so')) v.compile_module() assert filename == v.modulefilename |