Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
python-pytest-benchmark
fix-test-fast.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-test-fast.patch of Package python-pytest-benchmark
--- a/tests/test_normal.py +++ b/tests/test_normal.py @@ -5,6 +5,7 @@ Just to make sure the plugin doesn't cho Yay, doctests! """ +import platform import sys # noqa import time from functools import partial @@ -20,7 +21,10 @@ def test_fast(benchmark): assert result is None if not benchmark.disabled: - assert benchmark.stats.stats.min >= 0.000001 + if '32' in platform.architecture()[0]: + assert benchmark.stats.stats.min >= 0.0000001 + else: + assert benchmark.stats.stats.min >= 0.000001 def test_slow(benchmark):
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