homepage

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 serhiy.storchaka
Recipients SilentGhost, benhoyt, eryksun, ideasman42, mont29, paul.moore, python-dev, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2016年02月11日.13:17:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455196632.54.0.903885449744.issue25911@psf.upfronthosting.co.za>
In-reply-to
Content
New tests emit deprecation warnings on Windows and failed.
http://buildbot.python.org/all/builders/AMD64%20Windows8%203.x/builds/1753/steps/test/logs/stdio
test_rmdir_on_directory_link_to_missing_target (test.test_os.Win32SymlinkTests) ... D:\buildarea3円.x.bolen-windows8\build\lib\os.py:447: DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead
 for name in listdir(dir):
D:\buildarea3円.x.bolen-windows8\build\lib\os.py:441: DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead
 return path.isdir(self.path)
D:\buildarea3円.x.bolen-windows8\build\lib\ntpath.py:249: DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead
 st = os.lstat(path)
D:\buildarea3円.x.bolen-windows8\build\lib\test\test_os.py:2688: DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead
 func(name, *func_args)
D:\buildarea3円.x.bolen-windows8\build\lib\unittest\case.py:176: DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead
 callable_obj(*args, **kwargs)
D:\buildarea3円.x.bolen-windows8\build\lib\test\test_os.py:1881: DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead
 sorted(os.listdir(path)),
D:\buildarea3円.x.bolen-windows8\build\lib\test\test_os.py:1867: DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead
 sorted(os.listdir(os.fsencode(support.TESTFN))),
test test_os failed
skipped 'currently fails; consider for improvement'
======================================================================
FAIL: test_walk_bottom_up (test.test_os.BytesWalkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "D:\buildarea3円.x.bolen-windows8\build\lib\test\test_os.py", line 894, in test_walk_bottom_up
 self.sub2_tree)
AssertionError: Tuples differ: ('@test_4312_tmp\\TEST1\\SUB2', ['broken_link', 'link'], ['tmp3']) != ('@test_4312_tmp\\TEST1\\SUB2', ['link'], ['broken_link', 'tmp3'])
First differing element 1:
['broken_link', 'link']
['link']
- ('@test_4312_tmp\\TEST1\\SUB2', ['broken_link', 'link'], ['tmp3'])
? ----------
+ ('@test_4312_tmp\\TEST1\\SUB2', ['link'], ['broken_link', 'tmp3'])
? ++++++++++
======================================================================
FAIL: test_walk_prune (test.test_os.BytesWalkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "D:\buildarea3円.x.bolen-windows8\build\lib\test\test_os.py", line 874, in test_walk_prune
 self.assertEqual(all[1], self.sub2_tree)
AssertionError: Tuples differ: ('@test_4312_tmp\\TEST1\\SUB2', ['broken_link', 'link'], ['tmp3']) != ('@test_4312_tmp\\TEST1\\SUB2', ['link'], ['broken_link', 'tmp3'])
First differing element 1:
['broken_link', 'link']
['link']
- ('@test_4312_tmp\\TEST1\\SUB2', ['broken_link', 'link'], ['tmp3'])
? ----------
+ ('@test_4312_tmp\\TEST1\\SUB2', ['link'], ['broken_link', 'tmp3'])
? ++++++++++
Proposed patch should silence warnings. Could anyone please test it on Windows?
History
Date User Action Args
2016年02月11日 13:17:12serhiy.storchakasetrecipients: + serhiy.storchaka, paul.moore, vstinner, tim.golden, ideasman42, SilentGhost, benhoyt, python-dev, zach.ware, eryksun, steve.dower, mont29
2016年02月11日 13:17:12serhiy.storchakasetmessageid: <1455196632.54.0.903885449744.issue25911@psf.upfronthosting.co.za>
2016年02月11日 13:17:12serhiy.storchakalinkissue25911 messages
2016年02月11日 13:17:11serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /