Author: Armin Rigo <[email protected]>
Branch:
Changeset: r90671:bd26fe53021e
Date: 2017-03-14 08:56 +0100
http://bitbucket.org/pypy/pypy/changeset/bd26fe53021e/
Log: windows fix
diff --git a/pypy/module/_rawffi/alt/test/test_funcptr.py
b/pypy/module/_rawffi/alt/test/test_funcptr.py
--- a/pypy/module/_rawffi/alt/test/test_funcptr.py
+++ b/pypy/module/_rawffi/alt/test/test_funcptr.py
@@ -32,7 +32,10 @@
#
c_file.write(py.code.Source('\n'.join(snippets)))
eci = ExternalCompilationInfo(include_dirs=[cdir])
- return str(platform.compile([c_file], eci, 'x', standalone=False))
+ # Windows note: can't reuse the same file name 'x.dll', because
+ # the previous one is likely still opened
+ return str(platform.compile([c_file], eci, 'x' + cls.__name__,
+ standalone=False))
def setup_class(cls):
space = cls.space
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit