This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients vinay.sajip, xdegaye
Date 2017-01-06.15:48:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483717732.64.0.0633942643433.issue29177@psf.upfronthosting.co.za>
In-reply-to
Content
The test_logging cleanup problem induces another problem. When test_lib2to3 is run after the failing test_logging then test_lib2to3 fails with:

======================================================================
FAIL: test_filename_changing_on_output_single_dir (lib2to3.tests.test_main.TestMain)
2to3 a single directory with a new output dir and suffix.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/sdcard/org.bitbucket.pyona/lib/python3.7/lib2to3/tests/test_main.py", line 91, in test_file
name_changing_on_output_single_dir
    self.py3_dest_dir, self.py2_src_dir), stderr)
AssertionError: "Output in '/data/local/tmp/tmp4eyn96tg/python3_project' will mirror the input direc
tory '/data/local/tmp/tmp4eyn96tg/python2_project' layout" not found in 'WARNING: --write-unchanged-
files/-W implies -w.\n'

----------------------------------------------------------------------
Ran 616 tests in 140.986s

FAILED (failures=1, expected failures=1)
Warning -- logging._handlerList was modified by test_lib2to3
test test_lib2to3 failed


It seems that this is related to the test_logging failure because the expected string "Output in '/data/local/tmp/tmp4eyn96tg/python3_project' will mirror the input directory '/data/local/tmp/tmp4eyn96tg/python2_project' layout" is output by logger.info() in Lib/lib2to3/main.py:243.
History
Date User Action Args
2017-01-06 15:48:52xdegayesetrecipients: + xdegaye, vinay.sajip
2017-01-06 15:48:52xdegayesetmessageid: <1483717732.64.0.0633942643433.issue29177@psf.upfronthosting.co.za>
2017-01-06 15:48:52xdegayelinkissue29177 messages
2017-01-06 15:48:52xdegayecreate