Author: Armin Rigo <[email protected]>
Branch: release-1.2
Changeset: r2245:70841e56a8fb
Date: 2015-08-19 16:03 +0200
http://bitbucket.org/cffi/cffi/changeset/70841e56a8fb/
Log: Windows test fix
diff --git a/testing/cffi1/test_zdist.py b/testing/cffi1/test_zdist.py
--- a/testing/cffi1/test_zdist.py
+++ b/testing/cffi1/test_zdist.py
@@ -327,9 +327,12 @@
class TestBuildExt(build_ext):
def pre_run(self, ext, ffi):
+ print '_make_setuptools_api: in pre_run:',
assert ffi._hi_there == 42
assert ext.name == "pack3.mymod"
- fn = os.path.join(self.build_temp, '..', '..',
'see_me')
+ fn = os.path.join(os.path.dirname(self.build_lib),
+ '..', 'see_me')
+ print 'creating %r' % (fn,)
open(fn, 'w').close()
setup(name='example1',
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit