New submission from Michael Cetrulo: The following warning is being generated when running test case:
Warning -- locale was modified by test___all__ According to the comment there, importing the rlcompleter module changes (or used to change) the locale so after the import it was being set to 'C' This patch reads the current locale before importing and resets it to that value afterwards. ---------- components: Tests files: locale_envchange_patch.diff keywords: patch messages: 230136 nosy: Michael.Cetrulo, ezio.melotti priority: normal severity: normal status: open title: Fix test___all__ warning about modified environment type: behavior versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file37050/locale_envchange_patch.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22751> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com