Skip to content
Myr

test_compat.py

This file

Path

tests/test_compat.py

14 lines · 426 bytes · Python

Last changed by

Merge pull request #1622 from MLH-Fellowship/1484-redesign-completionDavid Lordbefore adoption6c8301e

History of this file

Take it

The walk stopped after 200 commits: lines older than 03e0133 point at it.

Follow PEP8 recommendation for param naming (#1073)Renne Rochabefore adoption03e0133

lines 1–2why, one step back
1import pytest
2

Merge branch '7.x'David Lordbefore adoption7239794

lines 3–4why, one step back
3from click._compat import should_strip_ansi
4from click._compat import WIN

Follow PEP8 recommendation for param naming (#1073)Renne Rochabefore adoption03e0133

line 5why, one step back
5

Merge branch '7.x'David Lordbefore adoption7239794

line 6why, one step back
6

Merge branch '7.x'David Lordbefore adoptiona438322

lines 7–8why, one step back
7@pytest.mark.xfail(WIN, reason="Jupyter not tested/supported on Windows")
8def test_is_jupyter_kernel_output():

Merge pull request #1532 from pallets/drop-python2David Lordbefore adoption97de2c9

line 9why, one step back
9 class JupyterKernelFakeStream:

Merge branch '7.x'David Lordbefore adoptiona438322

lines 10–14why, one step back
10 pass
1112 # implementation detail, aka cheapskate test13 JupyterKernelFakeStream.__module__ = "ipykernel.faked"14 assert not should_strip_ansi(stream=JupyterKernelFakeStream())