jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/565778 )

Change subject: [bugfix] Do not convert UserWarning to exceptions
......................................................................

[bugfix] Do not convert UserWarning to exceptions

Python 2 and 3.5.0 AppVeyor tests fail because UserWarning within
setuptools. Do not convert it to exception via command line warning
control but use the default behaviour instead to start tests even
that warning is given.

Bug: T243133
Change-Id: I108be7f40f8cadd16b5f8f0551bbf0911ab6c57d
---
M .appveyor.yml
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Dvorapa: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.appveyor.yml b/.appveyor.yml
index 8fd51f0..a1af5f2 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -108,7 +108,7 @@
   - set PYTHONIOENCODING=utf8

   - "mkdir %PYWIKIBOT_DIR%"
-  - "python -Werror::UserWarning -m generate_user_files -dir:%PYWIKIBOT_DIR% 
-family:wikipedia -lang:en -v -debug"
+  - "python -Wd::UserWarning -m generate_user_files -dir:%PYWIKIBOT_DIR% 
-family:wikipedia -lang:en -v -debug"
   - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 'max_retries = 
2; maximum_GET_length = 5000; transliteration_target = None;')"

   - set PYSETUP_TEST_NO_UI=1

--
To view, visit https://gerrit.wikimedia.org/r/565778
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I108be7f40f8cadd16b5f8f0551bbf0911ab6c57d
Gerrit-Change-Number: 565778
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Dvorapa <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to