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 martin.panter
Recipients larry, martin.panter, python-dev, serhiy.storchaka, vstinner
Date 2016-04-08.05:10:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460092204.6.0.450839681471.issue26671@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like the tests may need updating for a changed exception message:

http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/12996/steps/test/logs/stdio
======================================================================
FAIL: test_stat (test.test_posix.PosixTester)
----------------------------------------------------------------------
TypeError: stat: path should be string, bytes or integer, not NoneType

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_posix.py", line 415, in test_stat
    posix.stat, None)
AssertionError: "can't specify None for path argument" does not match "stat: path should be string, bytes or integer, not NoneType"

======================================================================
FAIL: test_stat_dir_fd (test.test_posix.PosixTester)
----------------------------------------------------------------------
TypeError: argument should be integer or None, not str

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_posix.py", line 867, in test_stat_dir_fd
    posix.stat, support.TESTFN, dir_fd=posix.getcwd())
AssertionError: "should be integer, not" does not match "argument should be integer or None, not str"
History
Date User Action Args
2016-04-08 05:10:04martin.pantersetrecipients: + martin.panter, vstinner, larry, python-dev, serhiy.storchaka
2016-04-08 05:10:04martin.pantersetmessageid: <1460092204.6.0.450839681471.issue26671@psf.upfronthosting.co.za>
2016-04-08 05:10:04martin.panterlinkissue26671 messages
2016-04-08 05:10:03martin.pantercreate