• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

adrienverge / yamllint / 12753560543 / 2
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v1.38.0
DEFAULT BRANCH: master
Ran 13 Jan 2025 06:22PM UTC
Files 65
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Jan 2025 06:21PM UTC coverage: 99.824% (-0.001%) from 99.825%
12753560543.2

Pull #709

github

adrienverge
cli: Fix TTY test failing on Python 3.14

Since I don't have Python 3.14 on my system (yet), here are the steps I
used to reproduce:

    sudo dnf install python3.14
    python3.14 -m venv /tmp/py3.14
    source /tmp/py3.14/bin/activate
    pip install yaml pathspec
    python3.14 -m unittest discover
    # or
    python3.14 -m unittest tests.test_cli.CommandLineTestCase.test_run_default_format_output_in_tty

This commit fixes that by piping *only* `sys.stdout`, not `sys.stderr`
too. I'm not sure why I wrote this code in 2016 (see commit a2c68fdf),
but the new one makes more sense to me now.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2336947
Pull Request #709: cli: Fix TTY test failing on Python 3.14

3979 of 3986 relevant lines covered (99.82%)

1.0 hits per line

Source Files on job 12753560543.2
  • Tree
  • List 65
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12753560543
  • 025c68ce on github
  • Prev Job for on fix/test_cli-on-python-3.14 (#12753556694.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc