-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: fix Python unittests #1961
Conversation
@joaocgreis Can you please take a look at the failing Windows tests? A fix did not jump out at me. |
@@ -1085,6 +1085,7 @@ def testConvertToMSBuildSettings_full_synthetic(self): | |||
'GenerateManifest': 'true', | |||
'IgnoreImportLibrary': 'true', | |||
'LinkIncremental': 'false'}} | |||
self.maxDiff = 9999 # on failure display a long diff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.maxDiff = None
if you don't really want an upper limit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood. These are reasonable limits for these test results.
I think part of the issue is that Travis has Visual Studio 2017 on Windows and the version of |
@cclauss pushed a fix for the issues on Windows.
|
Travis had failed on my repo earlier, but passed on a new run. Possibly some caching issue or something that got fixed. I guess this is good then! |
PR-URL: #1961 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: João Reis <reis@janeasystems.com>
PR-URL: #1961 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: João Reis <reis@janeasystems.com>
Add pytest to our Travis CI jobs to run 27 Python tests.
Checklist
npm install && npm test
passesDescription of change