Message156232
| Author |
beardedp |
| Recipients |
beardedp |
| Date |
2012年03月18日.07:16:50 |
| SpamBayes Score |
6.0345315e-09 |
| Marked as misclassified |
No |
| Message-id |
<1332055012.37.0.633152160174.issue14358@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
When running the test suite on Linux 3.2.9-1, I get the following error on the test_os suite:
test test_os crashed -- Traceback (most recent call last):
File "/home/benhayden/Documents/cpython/Lib/test/regrtest.py", line 1229, in runtest_inner
the_package = __import__(abstest, globals(), locals(), [])
File "/home/benhayden/Documents/cpython/Lib/test/test_os.py", line 1767, in <module>
@unittest.skipUnless(supports_extended_attributes(),
File "/home/benhayden/Documents/cpython/Lib/test/test_os.py", line 1754, in supports_extended_attributes
os.fsetxattr(fp.fileno(), b"user.test", b"")
OSError: [Errno 61] No data available
I don't know the best way to handle this error, but instead of raising it, I just let the decorator return False. This allowed test_os to finish (and finish successfully) on my machine.
Once again, I don't really know what ENODATA might mean, so I just tried the first thing that worked for me. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年03月18日 07:16:52 | beardedp | set | recipients:
+ beardedp |
| 2012年03月18日 07:16:52 | beardedp | set | messageid: <1332055012.37.0.633152160174.issue14358@psf.upfronthosting.co.za> |
| 2012年03月18日 07:16:51 | beardedp | link | issue14358 messages |
| 2012年03月18日 07:16:51 | beardedp | create |
|