Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:winski:python
python-mutagen
reduce-test-length.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reduce-test-length.diff of Package python-mutagen
Index: mutagen-1.37/tests/test___init__.py =================================================================== --- mutagen-1.37.orig/tests/test___init__.py +++ mutagen-1.37/tests/test___init__.py @@ -270,7 +270,7 @@ def iter_test_file_objects(fileobj): # first figure out how much a successful attempt reads and how many # file object operations it executes. yield t - for i in xrange(t.dataread): + for i in xrange(min(t.dataread, 10)): yield _TestFileObj(fileobj, stop_after=i) for i in xrange(t.operations): yield _TestFileObj(fileobj, fail_after=i)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor