https://bugzilla.redhat.com/show_bug.cgi?id=2310498



--- Comment #5 from Benson Muite <[email protected]> ---


koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=128192832

One of hte tests fails locally for me:

+ /usr/bin/pytest -k 'not test_get_version and not test_tracking and not
test_import_os_error'
============================= test session starts
==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /builddir/build/BUILD/python-scooby-0.10.0-build/scooby-0.10.0
configfile: pyproject.toml
plugins: console-scripts-1.4.1
collected 13 items / 3 deselected / 10 selected
tests/test_scooby.py .......F..                                          [100%]
=================================== FAILURES
===================================
_______________________________ test_import_time
_______________________________
    @pytest.mark.skipif(not sys.platform.startswith('linux'), reason="Not
Linux.")
    def test_import_time():
        # Relevant for packages which provide a CLI:
        # How long does it take to import?
        cmd = ["time", "-f", "%U", sys.executable, "-c", "import scooby"]
        # Run it twice, just in case.
        subprocess.run(cmd)
        subprocess.run(cmd)
        # Capture it
        out = subprocess.run(cmd, capture_output=True)

        # Currently we check t < 0.2 s.
>       assert float(out.stderr.decode("utf-8")[:-1]) < 0.2
E       AssertionError: assert 0.23 < 0.2
E        +  where 0.23 = float('0.23')
tests/test_scooby.py:211: AssertionError
----------------------------- Captured stderr call
-----------------------------
0.20
0.21
=========================== short test summary info
============================
FAILED tests/test_scooby.py::test_import_time - AssertionError: assert 0.23
<...
================== 1 failed, 9 passed, 3 deselected in 6.88s
===================


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2310498

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202310498%23c5

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to