Merge pull request #4309 from hugovk/fix-string-concatenation

Fix string concatenation
This commit is contained in:
Andrew Murray 2019-12-27 20:54:39 +11:00 committed by GitHub
commit cceef75d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -377,7 +377,7 @@ class TestLibUnpack(PillowTestCase):
self.assert_unpack( self.assert_unpack(
"RGBA", "RGBA",
"RGBa;16L", "RGBa;16L",
b"\x88\x01\x88\x02\x88\x03\x88\x00" b"\x88\x10\x88\x20\x88\x30\x88\xff", b"\x88\x01\x88\x02\x88\x03\x88\x00\x88\x10\x88\x20\x88\x30\x88\xff",
(0, 0, 0, 0), (0, 0, 0, 0),
(16, 32, 48, 255), (16, 32, 48, 255),
) )
@ -392,7 +392,7 @@ class TestLibUnpack(PillowTestCase):
self.assert_unpack( self.assert_unpack(
"RGBA", "RGBA",
"RGBa;16B", "RGBa;16B",
b"\x01\x88\x02\x88\x03\x88\x00\x88" b"\x10\x88\x20\x88\x30\x88\xff\x88", b"\x01\x88\x02\x88\x03\x88\x00\x88\x10\x88\x20\x88\x30\x88\xff\x88",
(0, 0, 0, 0), (0, 0, 0, 0),
(16, 32, 48, 255), (16, 32, 48, 255),
) )

View File

@ -225,8 +225,8 @@ set DefaultPlatformToolset=v100
if bit == 64: if bit == 64:
script += ( script += (
r"copy /Y /B " r"copy /Y /B "
+ r'"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64\*.Lib" ' r'"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64\*.Lib" '
+ r"%%FREETYPE%%\builds\windows\vc2010" r"%%FREETYPE%%\builds\windows\vc2010"
) )
properties += r" /p:_IsNativeEnvironment=false" properties += r" /p:_IsNativeEnvironment=false"
script += ( script += (