Skip to content
Myr

test_compat.py

This file

Path

tests/test_compat.py

10 lines · 307 bytes · Python

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 87b6535 point at it.

Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.9.0 (#2601)David Lordbefore adoption87b6535

lines 1–10why, one step back
1from click._compat import should_strip_ansi
234def test_is_jupyter_kernel_output():5 class JupyterKernelFakeStream:6 pass78 # implementation detail, aka cheapskate test9 JupyterKernelFakeStream.__module__ = "ipykernel.faked"10 assert not should_strip_ansi(stream=JupyterKernelFakeStream())