[issue20069] Add unit test for os.chown

Serhiy Storchaka report at bugs.python.org
Mon Feb 16 07:32:37 CET 2015


Serhiy Storchaka added the comment:

Tests failed on Solaris:
http://buildbot.python.org/all/builders/AMD64%20Solaris%2011%20%5BSB%5D%203.x/builds/3895/steps/test/logs/stdio

======================================================================
FAIL: test_chown_without_permission (test.test_os.ChownFileTests)
----------------------------------------------------------------------
PermissionError: [Errno 1] Not owner: '@test_18916_tmp'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/test/test_os.py", line 1080, in test_chown_without_permission
    os.chown(support.TESTFN, uid_2, gid)
AssertionError: "Operation not permitted" does not match "[Errno 1] Not owner: '@test_18916_tmp'"

----------------------------------------------------------------------

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20069>
_______________________________________


More information about the Python-bugs-list mailing list