New submission from Vajrasky Kok: You don't have to be an administrator get this deprecation warning. I am not sure whether showing the deprecation warning is intended behaviour or not.
C:\Users\vajrasky\Code\cpython>PCbuild\python.exe Lib\test\test_shutil.py ..s..........s..s....ss...s..ss.ss..ssssssss....s.ss.ss..........ss.C:\Users\vaj rasky\Code\cpython\lib\ntpath.py:309: DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead st = os.lstat(path) C:\Users\vajrasky\Code\cpython\lib\shutil.py:357: DeprecationWarning: The Window s bytes API has been deprecated, use Unicode filenames instead names = os.listdir(path) C:\Users\vajrasky\Code\cpython\lib\shutil.py:363: DeprecationWarning: The Window s bytes API has been deprecated, use Unicode filenames instead mode = os.lstat(fullname).st_mode C:\Users\vajrasky\Code\cpython\lib\shutil.py:370: DeprecationWarning: The Window s bytes API has been deprecated, use Unicode filenames instead os.unlink(fullname) C:\Users\vajrasky\Code\cpython\lib\shutil.py:374: DeprecationWarning: The Window s bytes API has been deprecated, use Unicode filenames instead os.rmdir(path) .sss............. ---------------------------------------------------------------------- Ran 85 tests in 0.741s OK (skipped=28) ---------- components: Tests messages: 206861 nosy: vajrasky priority: normal severity: normal status: open title: Got deprecation warning when running test_shutil.py on Windows NT 6 type: behavior versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20056> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com