Merlijn van Deen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/76520


Change subject: Ignore specific long line for ui_tests.py
......................................................................

Ignore specific long line for ui_tests.py

Change-Id: I0cbbc2c53764602b513e31fb55da388bdc48f7c8
---
M tests/ui_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/20/76520/1

diff --git a/tests/ui_tests.py b/tests/ui_tests.py
index 91abfae..dba6bc1 100644
--- a/tests/ui_tests.py
+++ b/tests/ui_tests.py
@@ -325,7 +325,7 @@
             pywikibot.config.transliterate = True
             pywikibot.output(u"abcd АБГД αβγδ あいうえお")
             self.assertEqual(newstdout.getvalue(), "")
-            self.assertEqual(newstderr.getvalue(), "abcd 
\x1b[33;1mA\x1b[0m\x1b[33;1mB\x1b[0m\x1b[33;1mG\x1b[0m\x1b[33;1mD\x1b[0m 
\x1b[33;1ma\x1b[0m\x1b[33;1mb\x1b[0m\x1b[33;1mg\x1b[0m\x1b[33;1md\x1b[0m 
\x1b[33;1ma\x1b[0m\x1b[33;1mi\x1b[0m\x1b[33;1mu\x1b[0m\x1b[33;1me\x1b[0m\x1b[33;1mo\x1b[0m\n\x1b[0m")
+            self.assertEqual(newstderr.getvalue(), "abcd 
\x1b[33;1mA\x1b[0m\x1b[33;1mB\x1b[0m\x1b[33;1mG\x1b[0m\x1b[33;1mD\x1b[0m 
\x1b[33;1ma\x1b[0m\x1b[33;1mb\x1b[0m\x1b[33;1mg\x1b[0m\x1b[33;1md\x1b[0m 
\x1b[33;1ma\x1b[0m\x1b[33;1mi\x1b[0m\x1b[33;1mu\x1b[0m\x1b[33;1me\x1b[0m\x1b[33;1mo\x1b[0m\n\x1b[0m")
 # noqa
 
     @unittest.skipUnless(os.name == "nt", "requires Windows console")
     class TestWindowsTerminalUnicode(UITestCase):

-- 
To view, visit https://gerrit.wikimedia.org/r/76520
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0cbbc2c53764602b513e31fb55da388bdc48f7c8
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to