summaryrefslogtreecommitdiff
path: root/Objects/classobject.c
diff options
context:
space:
mode:
authorJason Tishler <jason@tishler.net>2002-12-12 18:13:36 +0000
committerJason Tishler <jason@tishler.net>2002-12-12 18:13:36 +0000
commite4a070a3206809d069360c1a5d20541bf24d824b (patch)
treed73ba4a2452bd0e79702030f40950e65f8b23e5e /Objects/classobject.c
parent20b91358e5fd8042fbcaa4293fa37b7063fa77cf (diff)
downloadcpython-git-e4a070a3206809d069360c1a5d20541bf24d824b.tar.gz
Patch #551960: Add check for setrlimit() support
test_resource calls resource.setrlimit() to change the file size limits. This fails on Cygwin, which supports setrlimit() and getrlimit(), just not changing that particular setting. (The same would apply to any other platform that has those functions but not that particular feature.) Since getrlimit() works and setrlimit() can be used for other reasons, a check for ValueError was added to that part of the test.
Diffstat (limited to 'Objects/classobject.c')
0 files changed, 0 insertions, 0 deletions