Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions testing/cffi0/test_ownlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def setup_class(cls):
if sys.maxsize > 2**32:
arch = 'amd64'
if os.path.isfile(vcvarsall):
cmd = '"%s" %s' % (vcvarsall, arch) + ' & cl.exe testownlib.c ' \
' /LD /Fetestownlib.dll'
cmd = '"%s" %s & cl.exe testownlib.c /LD /Fetestownlib.dll' % (
vcvarsall, arch)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe nicer as an f-string, after #214 and #124

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, but I wanted to apply this #214. I'll rebase after the first PR is applied, whichever it is.

subprocess.check_call(cmd, cwd = str(udir), shell=True)
os.rename(f"{udir}\\testownlib.dll", dll_path)
cls.module = dll_path
Expand Down