Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Seems that hte error messagte is different from other Pythons.
  
    _____________________ TestReplacementsMain.test_pairs_file 
_____________________
    
    self = <tests.replacebot_tests.TestReplacementsMain 
testMethod=test_pairs_file>
    
        def test_pairs_file(self):
            """Test handle_pairsfile."""
            result = replace.handle_pairsfile('non existing file')
            self.assertIsNone(result)
            self.assertIn("No such file or directory: 'non existing file'",
    >                     pywikibot.bot.ui.pop_output()[0])
    E       AssertionError: "No such file or directory: 'non existing file'" 
not found in "Error loading non existing file: [Errno 2] No such file or 
directory: PosixPath('non existing file')"

TASK DETAIL
  https://phabricator.wikimedia.org/T379074

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to