Pytest¶
Important
For these helpers to work, you need to install extra_platforms’s additional dependencies from the pytest extra group:
$ pip install extra_platforms[pytest]
Usage¶
@skip_<id>— Skips the test when running on that platform/architecture/CI system@unless_<id>— Skips the test unless running on that platform/architecture/CI system
Skip a test on Windows:
import pytest
from extra_platforms.pytest import skip_windows
@skip_windows
def test_unix_only():
# This test will be skipped on Windows
pass
Run a test only on Linux:
import pytest
from extra_platforms.pytest import unless_linux
@unless_linux
def test_linux_only():
# This test will be skipped unless running on Linux
pass
Skip a test on specific architectures:
import pytest
from extra_platforms.pytest import skip_aarch64
@skip_aarch64
def test_not_on_arm64():
# This test will be skipped on ARM64 (AArch64)
pass
Skip a test in CI environments:
import pytest
from extra_platforms.pytest import skip_github_ci
@skip_github_ci
def test_not_in_github_actions():
# This test will be skipped when running in GitHub Actions
pass
All decorators¶
Skip decorator |
Unless decorator |
Icon |
Associated symbol |
|---|---|---|---|
📱 |
|||
➿ |
|||
🔳 |
|||
🧠 |
|||
🏛️ |
|||
📱 |
|||
♺ |
|||
🔲 |
|||
⚙️ |
|||
🐚 |
|||
☀️ |
|||
💻 |
|||
⁕ |
|||
🪟 |
|||
🏔️ |
|||
Δ |
|||
⤻ |
|||
🤖 |
|||
🍏 |
|||
🎗️ |
|||
³² |
|||
⁶⁴ |
|||
📱 |
|||
📱 |
|||
📱 |
|||
📱 |
|||
📱 |
|||
🪶 |
|||
═ |
|||
⟲ |
|||
# |
|||
⬆️ |
|||
💲 |
|||
Ⓑ |
|||
🅱️ |
|||
🪁 |
|||
⛑️ |
|||
🅲 |
|||
⌬ |
|||
💠 |
|||
⪾ |
|||
≋ |
|||
✴️ |
|||
👾 |
|||
꩜ |
|||
▶ |
|||
ᚙ |
|||
◰ |
|||
𝐂 |
|||
➤ |
|||
Ͼ |
|||
💨 |
|||
🌀 |
|||
🪰 |
|||
🐽 |
|||
🎩 |
|||
🐟 |
|||
🦶 |
|||
😈 |
|||
🥚 |
|||
🗜️ |
|||
👻 |
|||
🐙 |
|||
🦊 |
|||
𝐆 |
|||
📺 |
|||
🎮 |
|||
🐃 |
|||
🍂 |
|||
⥁ |
|||
🦬 |
|||
⬡ |
|||
𝗶 |
|||
𝗶 |
|||
𝗶 |
|||
🏢 |
|||
🤹 |
|||
🔥 |
|||
⬛ |
|||
🔱 |
|||
🐱 |
|||
💎 |
|||
𝐊 |
|||
🤹 |
|||
🐧 |
|||
≚ |
|||
🐣 |
|||
🌿 |
|||
⬇️ |
|||
🐉 |
|||
🐉 |
|||
🍎 |
|||
⍥ |
|||
💫 |
|||
▲ |
|||
🌘 |
|||
🔲 |
|||
🔲 |
|||
🔲 |
|||
🔲 |
|||
⧉ |
|||
▦ |
|||
🚩 |
|||
|
|||
𝜈 |
|||
🐡 |
|||
🦎 |
|||
📶 |
|||
🦴 |
|||
🅟 |
|||
◇ |
|||
∥ |
|||
🍓 |
|||
⚡ |
|||
🔷 |
|||
⚡ |
|||
⚡ |
|||
⚡ |
|||
🍓 |
|||
🎩 |
|||
🏞️ |
|||
Ⅴ |
|||
Ⅴ |
|||
Ⅴ |
|||
⛰️ |
|||
🏢 |
|||
⚛️ |
|||
🚬 |
|||
🦎 |
|||
🌞 |
|||
☀️ |
|||
☀️ |
|||
🌅 |
|||
𝐕 |
|||
🐈 |
|||
𝐓 |
|||
🏙️ |
|||
🔀 |
|||
📟 |
|||
👷 |
|||
↻ |
|||
🤵 |
|||
🎯 |
|||
🌊 |
|||
⨷ |
|||
≛ |
|||
⨂ |
|||
❓ |
|||
❓ |
|||
❓ |
|||
❓ |
|||
❓ |
|||
❓ |
|||
❓ |
|||
🔵 |
|||
🌐 |
|||
🌐 |
|||
⬢ |
|||
🌐 |
|||
🔡 |
|||
🪟 |
|||
⌨️ |
|||
⊡ |
|||
⊞ |
|||
⊞ |
|||
𝘅 |
|||
🖥️ |
|||
Ⓧ |
|||
🐍 |
|||
𝐗 |
|||
🪵 |
|||
ℤ |
Skip decorators¶
- @extra_platforms.pytest.skip_aarch64(*args, **kwargs)¶
Skip test if current environment is
AARCH64(i.e., whenis_aarch64()returnsTrue).
- @extra_platforms.pytest.skip_aix(*args, **kwargs)¶
Skip test if current environment is
AIX(i.e., whenis_aix()returnsTrue).
- @extra_platforms.pytest.skip_alacritty(*args, **kwargs)¶
Skip test if current environment is
ALACRITTY(i.e., whenis_alacritty()returnsTrue).
- @extra_platforms.pytest.skip_all_agents(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_AGENTSgroup (i.e., whenis_any_agent()returnsTrue).
- @extra_platforms.pytest.skip_all_architectures(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_ARCHITECTURESgroup (i.e., whenis_any_architecture()returnsTrue).
- @extra_platforms.pytest.skip_all_arm(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_ARMgroup (i.e., whenis_any_arm()returnsTrue).
- @extra_platforms.pytest.skip_all_ci(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_CIgroup (i.e., whenis_any_ci()returnsTrue).
- @extra_platforms.pytest.skip_all_mips(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_MIPSgroup (i.e., whenis_any_mips()returnsTrue).
- @extra_platforms.pytest.skip_all_platforms(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_PLATFORMSgroup (i.e., whenis_any_platform()returnsTrue).
- @extra_platforms.pytest.skip_all_shells(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_SHELLSgroup (i.e., whenis_any_shell()returnsTrue).
- @extra_platforms.pytest.skip_all_sparc(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_SPARCgroup (i.e., whenis_any_sparc()returnsTrue).
- @extra_platforms.pytest.skip_all_terminals(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_TERMINALSgroup (i.e., whenis_any_terminal()returnsTrue).
- @extra_platforms.pytest.skip_all_traits(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_TRAITSgroup (i.e., whenis_any_trait()returnsTrue).
- @extra_platforms.pytest.skip_all_windows(*args, **kwargs)¶
Skip test if current environment matches any member of the
ALL_WINDOWSgroup (i.e., whenis_any_windows()returnsTrue).
- @extra_platforms.pytest.skip_alpine(*args, **kwargs)¶
Skip test if current environment is
ALPINE(i.e., whenis_alpine()returnsTrue).
- @extra_platforms.pytest.skip_altlinux(*args, **kwargs)¶
Skip test if current environment is
ALTLINUX(i.e., whenis_altlinux()returnsTrue).
- @extra_platforms.pytest.skip_amzn(*args, **kwargs)¶
Skip test if current environment is
AMZN(i.e., whenis_amzn()returnsTrue).
- @extra_platforms.pytest.skip_android(*args, **kwargs)¶
Skip test if current environment is
ANDROID(i.e., whenis_android()returnsTrue).
- @extra_platforms.pytest.skip_apple_terminal(*args, **kwargs)¶
Skip test if current environment is
APPLE_TERMINAL(i.e., whenis_apple_terminal()returnsTrue).
- @extra_platforms.pytest.skip_arch(*args, **kwargs)¶
Skip test if current environment is
ARCH(i.e., whenis_arch()returnsTrue).
- @extra_platforms.pytest.skip_arch_32_bit(*args, **kwargs)¶
Skip test if current environment matches any member of the
ARCH_32_BITgroup (i.e., whenis_arch_32_bit()returnsTrue).
- @extra_platforms.pytest.skip_arch_64_bit(*args, **kwargs)¶
Skip test if current environment matches any member of the
ARCH_64_BITgroup (i.e., whenis_arch_64_bit()returnsTrue).
- @extra_platforms.pytest.skip_arm(*args, **kwargs)¶
Skip test if current environment is
ARM(i.e., whenis_arm()returnsTrue).
- @extra_platforms.pytest.skip_armv5tel(*args, **kwargs)¶
Skip test if current environment is
ARMV5TEL(i.e., whenis_armv5tel()returnsTrue).
- @extra_platforms.pytest.skip_armv6l(*args, **kwargs)¶
Skip test if current environment is
ARMV6L(i.e., whenis_armv6l()returnsTrue).
- @extra_platforms.pytest.skip_armv7l(*args, **kwargs)¶
Skip test if current environment is
ARMV7L(i.e., whenis_armv7l()returnsTrue).
- @extra_platforms.pytest.skip_armv8l(*args, **kwargs)¶
Skip test if current environment is
ARMV8L(i.e., whenis_armv8l()returnsTrue).
- @extra_platforms.pytest.skip_ash(*args, **kwargs)¶
Skip test if current environment is
ASH(i.e., whenis_ash()returnsTrue).
- @extra_platforms.pytest.skip_azure_pipelines(*args, **kwargs)¶
Skip test if current environment is
AZURE_PIPELINES(i.e., whenis_azure_pipelines()returnsTrue).
- @extra_platforms.pytest.skip_bamboo(*args, **kwargs)¶
Skip test if current environment is
BAMBOO(i.e., whenis_bamboo()returnsTrue).
- @extra_platforms.pytest.skip_bash(*args, **kwargs)¶
Skip test if current environment is
BASH(i.e., whenis_bash()returnsTrue).
- @extra_platforms.pytest.skip_big_endian(*args, **kwargs)¶
Skip test if current environment matches any member of the
BIG_ENDIANgroup (i.e., whenis_big_endian()returnsTrue).
- @extra_platforms.pytest.skip_bourne_shells(*args, **kwargs)¶
Skip test if current environment matches any member of the
BOURNE_SHELLSgroup (i.e., whenis_bourne_shells()returnsTrue).
- @extra_platforms.pytest.skip_bsd(*args, **kwargs)¶
Skip test if current environment matches any member of the
BSDgroup (i.e., whenis_bsd()returnsTrue).
- @extra_platforms.pytest.skip_bsd_not_macos(*args, **kwargs)¶
Skip test if current environment matches any member of the
BSD_WITHOUT_MACOSgroup (i.e., whenis_bsd_not_macos()returnsTrue).
- @extra_platforms.pytest.skip_buildkite(*args, **kwargs)¶
Skip test if current environment is
BUILDKITE(i.e., whenis_buildkite()returnsTrue).
- @extra_platforms.pytest.skip_buildroot(*args, **kwargs)¶
Skip test if current environment is
BUILDROOT(i.e., whenis_buildroot()returnsTrue).
- @extra_platforms.pytest.skip_c_shells(*args, **kwargs)¶
Skip test if current environment matches any member of the
C_SHELLSgroup (i.e., whenis_c_shells()returnsTrue).
- @extra_platforms.pytest.skip_cachyos(*args, **kwargs)¶
Skip test if current environment is
CACHYOS(i.e., whenis_cachyos()returnsTrue).
- @extra_platforms.pytest.skip_centos(*args, **kwargs)¶
Skip test if current environment is
CENTOS(i.e., whenis_centos()returnsTrue).
- @extra_platforms.pytest.skip_circle_ci(*args, **kwargs)¶
Skip test if current environment is
CIRCLE_CI(i.e., whenis_circle_ci()returnsTrue).
- @extra_platforms.pytest.skip_cirrus_ci(*args, **kwargs)¶
Skip test if current environment is
CIRRUS_CI(i.e., whenis_cirrus_ci()returnsTrue).
- @extra_platforms.pytest.skip_claude_code(*args, **kwargs)¶
Skip test if current environment is
CLAUDE_CODE(i.e., whenis_claude_code()returnsTrue).
- @extra_platforms.pytest.skip_cline(*args, **kwargs)¶
Skip test if current environment is
CLINE(i.e., whenis_cline()returnsTrue).
- @extra_platforms.pytest.skip_cloudlinux(*args, **kwargs)¶
Skip test if current environment is
CLOUDLINUX(i.e., whenis_cloudlinux()returnsTrue).
- @extra_platforms.pytest.skip_cmd(*args, **kwargs)¶
Skip test if current environment is
CMD(i.e., whenis_cmd()returnsTrue).
- @extra_platforms.pytest.skip_codebuild(*args, **kwargs)¶
Skip test if current environment is
CODEBUILD(i.e., whenis_codebuild()returnsTrue).
- @extra_platforms.pytest.skip_contour(*args, **kwargs)¶
Skip test if current environment is
CONTOUR(i.e., whenis_contour()returnsTrue).
- @extra_platforms.pytest.skip_csh(*args, **kwargs)¶
Skip test if current environment is
CSH(i.e., whenis_csh()returnsTrue).
- @extra_platforms.pytest.skip_cursor(*args, **kwargs)¶
Skip test if current environment is
CURSOR(i.e., whenis_cursor()returnsTrue).
- @extra_platforms.pytest.skip_cygwin(*args, **kwargs)¶
Skip test if current environment is
CYGWIN(i.e., whenis_cygwin()returnsTrue).
- @extra_platforms.pytest.skip_dash(*args, **kwargs)¶
Skip test if current environment is
DASH(i.e., whenis_dash()returnsTrue).
- @extra_platforms.pytest.skip_debian(*args, **kwargs)¶
Skip test if current environment is
DEBIAN(i.e., whenis_debian()returnsTrue).
- @extra_platforms.pytest.skip_dragonfly_bsd(*args, **kwargs)¶
Skip test if current environment is
DRAGONFLY_BSD(i.e., whenis_dragonfly_bsd()returnsTrue).
- @extra_platforms.pytest.skip_exherbo(*args, **kwargs)¶
Skip test if current environment is
EXHERBO(i.e., whenis_exherbo()returnsTrue).
- @extra_platforms.pytest.skip_fedora(*args, **kwargs)¶
Skip test if current environment is
FEDORA(i.e., whenis_fedora()returnsTrue).
- @extra_platforms.pytest.skip_fish(*args, **kwargs)¶
Skip test if current environment is
FISH(i.e., whenis_fish()returnsTrue).
- @extra_platforms.pytest.skip_foot(*args, **kwargs)¶
Skip test if current environment is
FOOT(i.e., whenis_foot()returnsTrue).
- @extra_platforms.pytest.skip_freebsd(*args, **kwargs)¶
Skip test if current environment is
FREEBSD(i.e., whenis_freebsd()returnsTrue).
- @extra_platforms.pytest.skip_generic_linux(*args, **kwargs)¶
Skip test if current environment is
GENERIC_LINUX(i.e., whenis_generic_linux()returnsTrue).
- @extra_platforms.pytest.skip_gentoo(*args, **kwargs)¶
Skip test if current environment is
GENTOO(i.e., whenis_gentoo()returnsTrue).
- @extra_platforms.pytest.skip_ghostty(*args, **kwargs)¶
Skip test if current environment is
GHOSTTY(i.e., whenis_ghostty()returnsTrue).
- @extra_platforms.pytest.skip_github_ci(*args, **kwargs)¶
Skip test if current environment is
GITHUB_CI(i.e., whenis_github_ci()returnsTrue).
- @extra_platforms.pytest.skip_gitlab_ci(*args, **kwargs)¶
Skip test if current environment is
GITLAB_CI(i.e., whenis_gitlab_ci()returnsTrue).
- @extra_platforms.pytest.skip_gnome_terminal(*args, **kwargs)¶
Skip test if current environment is
GNOME_TERMINAL(i.e., whenis_gnome_terminal()returnsTrue).
- @extra_platforms.pytest.skip_gnu_screen(*args, **kwargs)¶
Skip test if current environment is
GNU_SCREEN(i.e., whenis_gnu_screen()returnsTrue).
- @extra_platforms.pytest.skip_gpu_terminals(*args, **kwargs)¶
Skip test if current environment matches any member of the
GPU_TERMINALSgroup (i.e., whenis_gpu_terminals()returnsTrue).
- @extra_platforms.pytest.skip_guix(*args, **kwargs)¶
Skip test if current environment is
GUIX(i.e., whenis_guix()returnsTrue).
- @extra_platforms.pytest.skip_haiku(*args, **kwargs)¶
Skip test if current environment is
HAIKU(i.e., whenis_haiku()returnsTrue).
- @extra_platforms.pytest.skip_heroku_ci(*args, **kwargs)¶
Skip test if current environment is
HEROKU_CI(i.e., whenis_heroku_ci()returnsTrue).
- @extra_platforms.pytest.skip_hurd(*args, **kwargs)¶
Skip test if current environment is
HURD(i.e., whenis_hurd()returnsTrue).
- @extra_platforms.pytest.skip_hyper(*args, **kwargs)¶
Skip test if current environment is
HYPER(i.e., whenis_hyper()returnsTrue).
- @extra_platforms.pytest.skip_i386(*args, **kwargs)¶
Skip test if current environment is
I386(i.e., whenis_i386()returnsTrue).
- @extra_platforms.pytest.skip_i586(*args, **kwargs)¶
Skip test if current environment is
I586(i.e., whenis_i586()returnsTrue).
- @extra_platforms.pytest.skip_i686(*args, **kwargs)¶
Skip test if current environment is
I686(i.e., whenis_i686()returnsTrue).
- @extra_platforms.pytest.skip_ibm_mainframe(*args, **kwargs)¶
Skip test if current environment matches any member of the
IBM_MAINFRAMEgroup (i.e., whenis_ibm_mainframe()returnsTrue).
- @extra_platforms.pytest.skip_ibm_powerkvm(*args, **kwargs)¶
Skip test if current environment is
IBM_POWERKVM(i.e., whenis_ibm_powerkvm()returnsTrue).
- @extra_platforms.pytest.skip_illumos(*args, **kwargs)¶
Skip test if current environment is
ILLUMOS(i.e., whenis_illumos()returnsTrue).
- @extra_platforms.pytest.skip_iterm2(*args, **kwargs)¶
Skip test if current environment is
ITERM2(i.e., whenis_iterm2()returnsTrue).
- @extra_platforms.pytest.skip_kali(*args, **kwargs)¶
Skip test if current environment is
KALI(i.e., whenis_kali()returnsTrue).
- @extra_platforms.pytest.skip_kitty(*args, **kwargs)¶
Skip test if current environment is
KITTY(i.e., whenis_kitty()returnsTrue).
- @extra_platforms.pytest.skip_konsole(*args, **kwargs)¶
Skip test if current environment is
KONSOLE(i.e., whenis_konsole()returnsTrue).
- @extra_platforms.pytest.skip_ksh(*args, **kwargs)¶
Skip test if current environment is
KSH(i.e., whenis_ksh()returnsTrue).
- @extra_platforms.pytest.skip_kvmibm(*args, **kwargs)¶
Skip test if current environment is
KVMIBM(i.e., whenis_kvmibm()returnsTrue).
- @extra_platforms.pytest.skip_linux(*args, **kwargs)¶
Skip test if current environment matches any member of the
LINUXgroup (i.e., whenis_linux()returnsTrue).
- @extra_platforms.pytest.skip_linux_layers(*args, **kwargs)¶
Skip test if current environment matches any member of the
LINUX_LAYERSgroup (i.e., whenis_linux_layers()returnsTrue).
- @extra_platforms.pytest.skip_linux_like(*args, **kwargs)¶
Skip test if current environment matches any member of the
LINUX_LIKEgroup (i.e., whenis_linux_like()returnsTrue).
- @extra_platforms.pytest.skip_linuxmint(*args, **kwargs)¶
Skip test if current environment is
LINUXMINT(i.e., whenis_linuxmint()returnsTrue).
- @extra_platforms.pytest.skip_little_endian(*args, **kwargs)¶
Skip test if current environment matches any member of the
LITTLE_ENDIANgroup (i.e., whenis_little_endian()returnsTrue).
- @extra_platforms.pytest.skip_loongarch(*args, **kwargs)¶
Skip test if current environment matches any member of the
LOONGARCHgroup (i.e., whenis_loongarch()returnsTrue).
- @extra_platforms.pytest.skip_loongarch64(*args, **kwargs)¶
Skip test if current environment is
LOONGARCH64(i.e., whenis_loongarch64()returnsTrue).
- @extra_platforms.pytest.skip_macos(*args, **kwargs)¶
Skip test if current environment is
MACOS(i.e., whenis_macos()returnsTrue).
- @extra_platforms.pytest.skip_mageia(*args, **kwargs)¶
Skip test if current environment is
MAGEIA(i.e., whenis_mageia()returnsTrue).
- @extra_platforms.pytest.skip_mandriva(*args, **kwargs)¶
Skip test if current environment is
MANDRIVA(i.e., whenis_mandriva()returnsTrue).
- @extra_platforms.pytest.skip_manjaro(*args, **kwargs)¶
Skip test if current environment is
MANJARO(i.e., whenis_manjaro()returnsTrue).
- @extra_platforms.pytest.skip_midnightbsd(*args, **kwargs)¶
Skip test if current environment is
MIDNIGHTBSD(i.e., whenis_midnightbsd()returnsTrue).
- @extra_platforms.pytest.skip_mips(*args, **kwargs)¶
Skip test if current environment is
MIPS(i.e., whenis_mips()returnsTrue).
- @extra_platforms.pytest.skip_mips64(*args, **kwargs)¶
Skip test if current environment is
MIPS64(i.e., whenis_mips64()returnsTrue).
- @extra_platforms.pytest.skip_mips64el(*args, **kwargs)¶
Skip test if current environment is
MIPS64EL(i.e., whenis_mips64el()returnsTrue).
- @extra_platforms.pytest.skip_mipsel(*args, **kwargs)¶
Skip test if current environment is
MIPSEL(i.e., whenis_mipsel()returnsTrue).
- @extra_platforms.pytest.skip_multiplexers(*args, **kwargs)¶
Skip test if current environment matches any member of the
MULTIPLEXERSgroup (i.e., whenis_multiplexers()returnsTrue).
- @extra_platforms.pytest.skip_native_terminals(*args, **kwargs)¶
Skip test if current environment matches any member of the
NATIVE_TERMINALSgroup (i.e., whenis_native_terminals()returnsTrue).
- @extra_platforms.pytest.skip_netbsd(*args, **kwargs)¶
Skip test if current environment is
NETBSD(i.e., whenis_netbsd()returnsTrue).
- @extra_platforms.pytest.skip_nobara(*args, **kwargs)¶
Skip test if current environment is
NOBARA(i.e., whenis_nobara()returnsTrue).
- @extra_platforms.pytest.skip_nushell(*args, **kwargs)¶
Skip test if current environment is
NUSHELL(i.e., whenis_nushell()returnsTrue).
- @extra_platforms.pytest.skip_openbsd(*args, **kwargs)¶
Skip test if current environment is
OPENBSD(i.e., whenis_openbsd()returnsTrue).
- @extra_platforms.pytest.skip_opensuse(*args, **kwargs)¶
Skip test if current environment is
OPENSUSE(i.e., whenis_opensuse()returnsTrue).
- @extra_platforms.pytest.skip_openwrt(*args, **kwargs)¶
Skip test if current environment is
OPENWRT(i.e., whenis_openwrt()returnsTrue).
- @extra_platforms.pytest.skip_oracle(*args, **kwargs)¶
Skip test if current environment is
ORACLE(i.e., whenis_oracle()returnsTrue).
- @extra_platforms.pytest.skip_other_posix(*args, **kwargs)¶
Skip test if current environment matches any member of the
OTHER_POSIXgroup (i.e., whenis_other_posix()returnsTrue).
- @extra_platforms.pytest.skip_other_shells(*args, **kwargs)¶
Skip test if current environment matches any member of the
OTHER_SHELLSgroup (i.e., whenis_other_shells()returnsTrue).
- @extra_platforms.pytest.skip_parallels(*args, **kwargs)¶
Skip test if current environment is
PARALLELS(i.e., whenis_parallels()returnsTrue).
- @extra_platforms.pytest.skip_pidora(*args, **kwargs)¶
Skip test if current environment is
PIDORA(i.e., whenis_pidora()returnsTrue).
- @extra_platforms.pytest.skip_powerpc(*args, **kwargs)¶
Skip test if current environment matches any member of the
POWERPCgroup (i.e., whenis_powerpc()returnsTrue).
- @extra_platforms.pytest.skip_powershell(*args, **kwargs)¶
Skip test if current environment is
POWERSHELL(i.e., whenis_powershell()returnsTrue).
- @extra_platforms.pytest.skip_ppc(*args, **kwargs)¶
Skip test if current environment is
PPC(i.e., whenis_ppc()returnsTrue).
- @extra_platforms.pytest.skip_ppc64(*args, **kwargs)¶
Skip test if current environment is
PPC64(i.e., whenis_ppc64()returnsTrue).
- @extra_platforms.pytest.skip_ppc64le(*args, **kwargs)¶
Skip test if current environment is
PPC64LE(i.e., whenis_ppc64le()returnsTrue).
- @extra_platforms.pytest.skip_raspbian(*args, **kwargs)¶
Skip test if current environment is
RASPBIAN(i.e., whenis_raspbian()returnsTrue).
- @extra_platforms.pytest.skip_rhel(*args, **kwargs)¶
Skip test if current environment is
RHEL(i.e., whenis_rhel()returnsTrue).
- @extra_platforms.pytest.skip_rio(*args, **kwargs)¶
Skip test if current environment is
RIO(i.e., whenis_rio()returnsTrue).
- @extra_platforms.pytest.skip_riscv(*args, **kwargs)¶
Skip test if current environment matches any member of the
RISCVgroup (i.e., whenis_riscv()returnsTrue).
- @extra_platforms.pytest.skip_riscv32(*args, **kwargs)¶
Skip test if current environment is
RISCV32(i.e., whenis_riscv32()returnsTrue).
- @extra_platforms.pytest.skip_riscv64(*args, **kwargs)¶
Skip test if current environment is
RISCV64(i.e., whenis_riscv64()returnsTrue).
- @extra_platforms.pytest.skip_rocky(*args, **kwargs)¶
Skip test if current environment is
ROCKY(i.e., whenis_rocky()returnsTrue).
- @extra_platforms.pytest.skip_s390x(*args, **kwargs)¶
Skip test if current environment is
S390X(i.e., whenis_s390x()returnsTrue).
- @extra_platforms.pytest.skip_scientific(*args, **kwargs)¶
Skip test if current environment is
SCIENTIFIC(i.e., whenis_scientific()returnsTrue).
- @extra_platforms.pytest.skip_slackware(*args, **kwargs)¶
Skip test if current environment is
SLACKWARE(i.e., whenis_slackware()returnsTrue).
- @extra_platforms.pytest.skip_sles(*args, **kwargs)¶
Skip test if current environment is
SLES(i.e., whenis_sles()returnsTrue).
- @extra_platforms.pytest.skip_solaris(*args, **kwargs)¶
Skip test if current environment is
SOLARIS(i.e., whenis_solaris()returnsTrue).
- @extra_platforms.pytest.skip_sparc(*args, **kwargs)¶
Skip test if current environment is
SPARC(i.e., whenis_sparc()returnsTrue).
- @extra_platforms.pytest.skip_sparc64(*args, **kwargs)¶
Skip test if current environment is
SPARC64(i.e., whenis_sparc64()returnsTrue).
- @extra_platforms.pytest.skip_sunos(*args, **kwargs)¶
Skip test if current environment is
SUNOS(i.e., whenis_sunos()returnsTrue).
- @extra_platforms.pytest.skip_system_v(*args, **kwargs)¶
Skip test if current environment matches any member of the
SYSTEM_Vgroup (i.e., whenis_system_v()returnsTrue).
- @extra_platforms.pytest.skip_tabby(*args, **kwargs)¶
Skip test if current environment is
TABBY(i.e., whenis_tabby()returnsTrue).
- @extra_platforms.pytest.skip_tcsh(*args, **kwargs)¶
Skip test if current environment is
TCSH(i.e., whenis_tcsh()returnsTrue).
- @extra_platforms.pytest.skip_teamcity(*args, **kwargs)¶
Skip test if current environment is
TEAMCITY(i.e., whenis_teamcity()returnsTrue).
- @extra_platforms.pytest.skip_tilix(*args, **kwargs)¶
Skip test if current environment is
TILIX(i.e., whenis_tilix()returnsTrue).
- @extra_platforms.pytest.skip_tmux(*args, **kwargs)¶
Skip test if current environment is
TMUX(i.e., whenis_tmux()returnsTrue).
- @extra_platforms.pytest.skip_travis_ci(*args, **kwargs)¶
Skip test if current environment is
TRAVIS_CI(i.e., whenis_travis_ci()returnsTrue).
- @extra_platforms.pytest.skip_tumbleweed(*args, **kwargs)¶
Skip test if current environment is
TUMBLEWEED(i.e., whenis_tumbleweed()returnsTrue).
- @extra_platforms.pytest.skip_tuxedo(*args, **kwargs)¶
Skip test if current environment is
TUXEDO(i.e., whenis_tuxedo()returnsTrue).
- @extra_platforms.pytest.skip_ubuntu(*args, **kwargs)¶
Skip test if current environment is
UBUNTU(i.e., whenis_ubuntu()returnsTrue).
- @extra_platforms.pytest.skip_ultramarine(*args, **kwargs)¶
Skip test if current environment is
ULTRAMARINE(i.e., whenis_ultramarine()returnsTrue).
- @extra_platforms.pytest.skip_unix(*args, **kwargs)¶
Skip test if current environment matches any member of the
UNIXgroup (i.e., whenis_unix()returnsTrue).
- @extra_platforms.pytest.skip_unix_layers(*args, **kwargs)¶
Skip test if current environment matches any member of the
UNIX_LAYERSgroup (i.e., whenis_unix_layers()returnsTrue).
- @extra_platforms.pytest.skip_unix_not_macos(*args, **kwargs)¶
Skip test if current environment matches any member of the
UNIX_WITHOUT_MACOSgroup (i.e., whenis_unix_not_macos()returnsTrue).
- @extra_platforms.pytest.skip_unknown(*args, **kwargs)¶
Skip test if current environment matches any member of the
UNKNOWNgroup (i.e., whenis_unknown()returnsTrue).
- @extra_platforms.pytest.skip_unknown_agent(*args, **kwargs)¶
Skip test if current environment is
UNKNOWN_AGENT(i.e., whenis_unknown_agent()returnsTrue).
- @extra_platforms.pytest.skip_unknown_architecture(*args, **kwargs)¶
Skip test if current environment is
UNKNOWN_ARCHITECTURE(i.e., whenis_unknown_architecture()returnsTrue).
- @extra_platforms.pytest.skip_unknown_ci(*args, **kwargs)¶
Skip test if current environment is
UNKNOWN_CI(i.e., whenis_unknown_ci()returnsTrue).
- @extra_platforms.pytest.skip_unknown_platform(*args, **kwargs)¶
Skip test if current environment is
UNKNOWN_PLATFORM(i.e., whenis_unknown_platform()returnsTrue).
- @extra_platforms.pytest.skip_unknown_shell(*args, **kwargs)¶
Skip test if current environment is
UNKNOWN_SHELL(i.e., whenis_unknown_shell()returnsTrue).
- @extra_platforms.pytest.skip_unknown_terminal(*args, **kwargs)¶
Skip test if current environment is
UNKNOWN_TERMINAL(i.e., whenis_unknown_terminal()returnsTrue).
- @extra_platforms.pytest.skip_vscode_terminal(*args, **kwargs)¶
Skip test if current environment is
VSCODE_TERMINAL(i.e., whenis_vscode_terminal()returnsTrue).
- @extra_platforms.pytest.skip_wasm32(*args, **kwargs)¶
Skip test if current environment is
WASM32(i.e., whenis_wasm32()returnsTrue).
- @extra_platforms.pytest.skip_wasm64(*args, **kwargs)¶
Skip test if current environment is
WASM64(i.e., whenis_wasm64()returnsTrue).
- @extra_platforms.pytest.skip_web_terminals(*args, **kwargs)¶
Skip test if current environment matches any member of the
WEB_TERMINALSgroup (i.e., whenis_web_terminals()returnsTrue).
- @extra_platforms.pytest.skip_webassembly(*args, **kwargs)¶
Skip test if current environment matches any member of the
WEBASSEMBLYgroup (i.e., whenis_webassembly()returnsTrue).
- @extra_platforms.pytest.skip_wezterm(*args, **kwargs)¶
Skip test if current environment is
WEZTERM(i.e., whenis_wezterm()returnsTrue).
- @extra_platforms.pytest.skip_windows(*args, **kwargs)¶
Skip test if current environment is
WINDOWS(i.e., whenis_windows()returnsTrue).
- @extra_platforms.pytest.skip_windows_shells(*args, **kwargs)¶
Skip test if current environment matches any member of the
WINDOWS_SHELLSgroup (i.e., whenis_windows_shells()returnsTrue).
- @extra_platforms.pytest.skip_windows_terminal(*args, **kwargs)¶
Skip test if current environment is
WINDOWS_TERMINAL(i.e., whenis_windows_terminal()returnsTrue).
- @extra_platforms.pytest.skip_wsl1(*args, **kwargs)¶
Skip test if current environment is
WSL1(i.e., whenis_wsl1()returnsTrue).
- @extra_platforms.pytest.skip_wsl2(*args, **kwargs)¶
Skip test if current environment is
WSL2(i.e., whenis_wsl2()returnsTrue).
- @extra_platforms.pytest.skip_x86(*args, **kwargs)¶
Skip test if current environment matches any member of the
X86group (i.e., whenis_x86()returnsTrue).
- @extra_platforms.pytest.skip_x86_64(*args, **kwargs)¶
Skip test if current environment is
X86_64(i.e., whenis_x86_64()returnsTrue).
- @extra_platforms.pytest.skip_xenserver(*args, **kwargs)¶
Skip test if current environment is
XENSERVER(i.e., whenis_xenserver()returnsTrue).
- @extra_platforms.pytest.skip_xonsh(*args, **kwargs)¶
Skip test if current environment is
XONSH(i.e., whenis_xonsh()returnsTrue).
- @extra_platforms.pytest.skip_xterm(*args, **kwargs)¶
Skip test if current environment is
XTERM(i.e., whenis_xterm()returnsTrue).
- @extra_platforms.pytest.skip_zellij(*args, **kwargs)¶
Skip test if current environment is
ZELLIJ(i.e., whenis_zellij()returnsTrue).
Unless decorators¶
- @extra_platforms.pytest.unless_aarch64(*args, **kwargs)¶
Run test only if current environment is
AARCH64(i.e., whenis_aarch64()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_aix(*args, **kwargs)¶
Run test only if current environment is
AIX(i.e., whenis_aix()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_alacritty(*args, **kwargs)¶
Run test only if current environment is
ALACRITTY(i.e., whenis_alacritty()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_agent(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_AGENTSgroup (i.e., whenis_any_agent()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_architecture(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_ARCHITECTURESgroup (i.e., whenis_any_architecture()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_arm(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_ARMgroup (i.e., whenis_any_arm()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_ci(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_CIgroup (i.e., whenis_any_ci()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_mips(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_MIPSgroup (i.e., whenis_any_mips()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_platform(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_PLATFORMSgroup (i.e., whenis_any_platform()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_shell(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_SHELLSgroup (i.e., whenis_any_shell()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_sparc(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_SPARCgroup (i.e., whenis_any_sparc()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_terminal(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_TERMINALSgroup (i.e., whenis_any_terminal()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_trait(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_TRAITSgroup (i.e., whenis_any_trait()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_any_windows(*args, **kwargs)¶
Run test only if current environment matches any member of the
ALL_WINDOWSgroup (i.e., whenis_any_windows()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_alpine(*args, **kwargs)¶
Run test only if current environment is
ALPINE(i.e., whenis_alpine()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_altlinux(*args, **kwargs)¶
Run test only if current environment is
ALTLINUX(i.e., whenis_altlinux()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_amzn(*args, **kwargs)¶
Run test only if current environment is
AMZN(i.e., whenis_amzn()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_android(*args, **kwargs)¶
Run test only if current environment is
ANDROID(i.e., whenis_android()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_apple_terminal(*args, **kwargs)¶
Run test only if current environment is
APPLE_TERMINAL(i.e., whenis_apple_terminal()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_arch(*args, **kwargs)¶
Run test only if current environment is
ARCH(i.e., whenis_arch()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_arch_32_bit(*args, **kwargs)¶
Run test only if current environment matches any member of the
ARCH_32_BITgroup (i.e., whenis_arch_32_bit()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_arch_64_bit(*args, **kwargs)¶
Run test only if current environment matches any member of the
ARCH_64_BITgroup (i.e., whenis_arch_64_bit()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_arm(*args, **kwargs)¶
Run test only if current environment is
ARM(i.e., whenis_arm()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_armv5tel(*args, **kwargs)¶
Run test only if current environment is
ARMV5TEL(i.e., whenis_armv5tel()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_armv6l(*args, **kwargs)¶
Run test only if current environment is
ARMV6L(i.e., whenis_armv6l()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_armv7l(*args, **kwargs)¶
Run test only if current environment is
ARMV7L(i.e., whenis_armv7l()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_armv8l(*args, **kwargs)¶
Run test only if current environment is
ARMV8L(i.e., whenis_armv8l()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ash(*args, **kwargs)¶
Run test only if current environment is
ASH(i.e., whenis_ash()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_azure_pipelines(*args, **kwargs)¶
Run test only if current environment is
AZURE_PIPELINES(i.e., whenis_azure_pipelines()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_bamboo(*args, **kwargs)¶
Run test only if current environment is
BAMBOO(i.e., whenis_bamboo()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_bash(*args, **kwargs)¶
Run test only if current environment is
BASH(i.e., whenis_bash()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_big_endian(*args, **kwargs)¶
Run test only if current environment matches any member of the
BIG_ENDIANgroup (i.e., whenis_big_endian()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_bourne_shells(*args, **kwargs)¶
Run test only if current environment matches any member of the
BOURNE_SHELLSgroup (i.e., whenis_bourne_shells()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_bsd(*args, **kwargs)¶
Run test only if current environment matches any member of the
BSDgroup (i.e., whenis_bsd()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_bsd_not_macos(*args, **kwargs)¶
Run test only if current environment matches any member of the
BSD_WITHOUT_MACOSgroup (i.e., whenis_bsd_not_macos()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_buildkite(*args, **kwargs)¶
Run test only if current environment is
BUILDKITE(i.e., whenis_buildkite()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_buildroot(*args, **kwargs)¶
Run test only if current environment is
BUILDROOT(i.e., whenis_buildroot()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_c_shells(*args, **kwargs)¶
Run test only if current environment matches any member of the
C_SHELLSgroup (i.e., whenis_c_shells()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_cachyos(*args, **kwargs)¶
Run test only if current environment is
CACHYOS(i.e., whenis_cachyos()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_centos(*args, **kwargs)¶
Run test only if current environment is
CENTOS(i.e., whenis_centos()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_circle_ci(*args, **kwargs)¶
Run test only if current environment is
CIRCLE_CI(i.e., whenis_circle_ci()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_cirrus_ci(*args, **kwargs)¶
Run test only if current environment is
CIRRUS_CI(i.e., whenis_cirrus_ci()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_claude_code(*args, **kwargs)¶
Run test only if current environment is
CLAUDE_CODE(i.e., whenis_claude_code()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_cline(*args, **kwargs)¶
Run test only if current environment is
CLINE(i.e., whenis_cline()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_cloudlinux(*args, **kwargs)¶
Run test only if current environment is
CLOUDLINUX(i.e., whenis_cloudlinux()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_cmd(*args, **kwargs)¶
Run test only if current environment is
CMD(i.e., whenis_cmd()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_codebuild(*args, **kwargs)¶
Run test only if current environment is
CODEBUILD(i.e., whenis_codebuild()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_contour(*args, **kwargs)¶
Run test only if current environment is
CONTOUR(i.e., whenis_contour()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_csh(*args, **kwargs)¶
Run test only if current environment is
CSH(i.e., whenis_csh()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_cursor(*args, **kwargs)¶
Run test only if current environment is
CURSOR(i.e., whenis_cursor()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_cygwin(*args, **kwargs)¶
Run test only if current environment is
CYGWIN(i.e., whenis_cygwin()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_dash(*args, **kwargs)¶
Run test only if current environment is
DASH(i.e., whenis_dash()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_debian(*args, **kwargs)¶
Run test only if current environment is
DEBIAN(i.e., whenis_debian()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_dragonfly_bsd(*args, **kwargs)¶
Run test only if current environment is
DRAGONFLY_BSD(i.e., whenis_dragonfly_bsd()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_exherbo(*args, **kwargs)¶
Run test only if current environment is
EXHERBO(i.e., whenis_exherbo()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_fedora(*args, **kwargs)¶
Run test only if current environment is
FEDORA(i.e., whenis_fedora()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_fish(*args, **kwargs)¶
Run test only if current environment is
FISH(i.e., whenis_fish()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_foot(*args, **kwargs)¶
Run test only if current environment is
FOOT(i.e., whenis_foot()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_freebsd(*args, **kwargs)¶
Run test only if current environment is
FREEBSD(i.e., whenis_freebsd()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_generic_linux(*args, **kwargs)¶
Run test only if current environment is
GENERIC_LINUX(i.e., whenis_generic_linux()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_gentoo(*args, **kwargs)¶
Run test only if current environment is
GENTOO(i.e., whenis_gentoo()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ghostty(*args, **kwargs)¶
Run test only if current environment is
GHOSTTY(i.e., whenis_ghostty()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_github_ci(*args, **kwargs)¶
Run test only if current environment is
GITHUB_CI(i.e., whenis_github_ci()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_gitlab_ci(*args, **kwargs)¶
Run test only if current environment is
GITLAB_CI(i.e., whenis_gitlab_ci()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_gnome_terminal(*args, **kwargs)¶
Run test only if current environment is
GNOME_TERMINAL(i.e., whenis_gnome_terminal()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_gnu_screen(*args, **kwargs)¶
Run test only if current environment is
GNU_SCREEN(i.e., whenis_gnu_screen()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_gpu_terminals(*args, **kwargs)¶
Run test only if current environment matches any member of the
GPU_TERMINALSgroup (i.e., whenis_gpu_terminals()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_guix(*args, **kwargs)¶
Run test only if current environment is
GUIX(i.e., whenis_guix()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_haiku(*args, **kwargs)¶
Run test only if current environment is
HAIKU(i.e., whenis_haiku()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_heroku_ci(*args, **kwargs)¶
Run test only if current environment is
HEROKU_CI(i.e., whenis_heroku_ci()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_hurd(*args, **kwargs)¶
Run test only if current environment is
HURD(i.e., whenis_hurd()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_hyper(*args, **kwargs)¶
Run test only if current environment is
HYPER(i.e., whenis_hyper()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_i386(*args, **kwargs)¶
Run test only if current environment is
I386(i.e., whenis_i386()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_i586(*args, **kwargs)¶
Run test only if current environment is
I586(i.e., whenis_i586()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_i686(*args, **kwargs)¶
Run test only if current environment is
I686(i.e., whenis_i686()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ibm_mainframe(*args, **kwargs)¶
Run test only if current environment matches any member of the
IBM_MAINFRAMEgroup (i.e., whenis_ibm_mainframe()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ibm_powerkvm(*args, **kwargs)¶
Run test only if current environment is
IBM_POWERKVM(i.e., whenis_ibm_powerkvm()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_illumos(*args, **kwargs)¶
Run test only if current environment is
ILLUMOS(i.e., whenis_illumos()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_iterm2(*args, **kwargs)¶
Run test only if current environment is
ITERM2(i.e., whenis_iterm2()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_kali(*args, **kwargs)¶
Run test only if current environment is
KALI(i.e., whenis_kali()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_kitty(*args, **kwargs)¶
Run test only if current environment is
KITTY(i.e., whenis_kitty()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_konsole(*args, **kwargs)¶
Run test only if current environment is
KONSOLE(i.e., whenis_konsole()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ksh(*args, **kwargs)¶
Run test only if current environment is
KSH(i.e., whenis_ksh()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_kvmibm(*args, **kwargs)¶
Run test only if current environment is
KVMIBM(i.e., whenis_kvmibm()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_linux(*args, **kwargs)¶
Run test only if current environment matches any member of the
LINUXgroup (i.e., whenis_linux()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_linux_layers(*args, **kwargs)¶
Run test only if current environment matches any member of the
LINUX_LAYERSgroup (i.e., whenis_linux_layers()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_linux_like(*args, **kwargs)¶
Run test only if current environment matches any member of the
LINUX_LIKEgroup (i.e., whenis_linux_like()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_linuxmint(*args, **kwargs)¶
Run test only if current environment is
LINUXMINT(i.e., whenis_linuxmint()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_little_endian(*args, **kwargs)¶
Run test only if current environment matches any member of the
LITTLE_ENDIANgroup (i.e., whenis_little_endian()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_loongarch(*args, **kwargs)¶
Run test only if current environment matches any member of the
LOONGARCHgroup (i.e., whenis_loongarch()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_loongarch64(*args, **kwargs)¶
Run test only if current environment is
LOONGARCH64(i.e., whenis_loongarch64()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_macos(*args, **kwargs)¶
Run test only if current environment is
MACOS(i.e., whenis_macos()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_mageia(*args, **kwargs)¶
Run test only if current environment is
MAGEIA(i.e., whenis_mageia()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_mandriva(*args, **kwargs)¶
Run test only if current environment is
MANDRIVA(i.e., whenis_mandriva()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_manjaro(*args, **kwargs)¶
Run test only if current environment is
MANJARO(i.e., whenis_manjaro()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_midnightbsd(*args, **kwargs)¶
Run test only if current environment is
MIDNIGHTBSD(i.e., whenis_midnightbsd()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_mips(*args, **kwargs)¶
Run test only if current environment is
MIPS(i.e., whenis_mips()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_mips64(*args, **kwargs)¶
Run test only if current environment is
MIPS64(i.e., whenis_mips64()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_mips64el(*args, **kwargs)¶
Run test only if current environment is
MIPS64EL(i.e., whenis_mips64el()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_mipsel(*args, **kwargs)¶
Run test only if current environment is
MIPSEL(i.e., whenis_mipsel()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_multiplexers(*args, **kwargs)¶
Run test only if current environment matches any member of the
MULTIPLEXERSgroup (i.e., whenis_multiplexers()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_native_terminals(*args, **kwargs)¶
Run test only if current environment matches any member of the
NATIVE_TERMINALSgroup (i.e., whenis_native_terminals()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_netbsd(*args, **kwargs)¶
Run test only if current environment is
NETBSD(i.e., whenis_netbsd()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_nobara(*args, **kwargs)¶
Run test only if current environment is
NOBARA(i.e., whenis_nobara()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_nushell(*args, **kwargs)¶
Run test only if current environment is
NUSHELL(i.e., whenis_nushell()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_openbsd(*args, **kwargs)¶
Run test only if current environment is
OPENBSD(i.e., whenis_openbsd()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_opensuse(*args, **kwargs)¶
Run test only if current environment is
OPENSUSE(i.e., whenis_opensuse()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_openwrt(*args, **kwargs)¶
Run test only if current environment is
OPENWRT(i.e., whenis_openwrt()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_oracle(*args, **kwargs)¶
Run test only if current environment is
ORACLE(i.e., whenis_oracle()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_other_posix(*args, **kwargs)¶
Run test only if current environment matches any member of the
OTHER_POSIXgroup (i.e., whenis_other_posix()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_other_shells(*args, **kwargs)¶
Run test only if current environment matches any member of the
OTHER_SHELLSgroup (i.e., whenis_other_shells()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_parallels(*args, **kwargs)¶
Run test only if current environment is
PARALLELS(i.e., whenis_parallels()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_pidora(*args, **kwargs)¶
Run test only if current environment is
PIDORA(i.e., whenis_pidora()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_powerpc(*args, **kwargs)¶
Run test only if current environment matches any member of the
POWERPCgroup (i.e., whenis_powerpc()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_powershell(*args, **kwargs)¶
Run test only if current environment is
POWERSHELL(i.e., whenis_powershell()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ppc(*args, **kwargs)¶
Run test only if current environment is
PPC(i.e., whenis_ppc()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ppc64(*args, **kwargs)¶
Run test only if current environment is
PPC64(i.e., whenis_ppc64()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ppc64le(*args, **kwargs)¶
Run test only if current environment is
PPC64LE(i.e., whenis_ppc64le()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_raspbian(*args, **kwargs)¶
Run test only if current environment is
RASPBIAN(i.e., whenis_raspbian()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_rhel(*args, **kwargs)¶
Run test only if current environment is
RHEL(i.e., whenis_rhel()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_rio(*args, **kwargs)¶
Run test only if current environment is
RIO(i.e., whenis_rio()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_riscv(*args, **kwargs)¶
Run test only if current environment matches any member of the
RISCVgroup (i.e., whenis_riscv()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_riscv32(*args, **kwargs)¶
Run test only if current environment is
RISCV32(i.e., whenis_riscv32()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_riscv64(*args, **kwargs)¶
Run test only if current environment is
RISCV64(i.e., whenis_riscv64()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_rocky(*args, **kwargs)¶
Run test only if current environment is
ROCKY(i.e., whenis_rocky()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_s390x(*args, **kwargs)¶
Run test only if current environment is
S390X(i.e., whenis_s390x()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_scientific(*args, **kwargs)¶
Run test only if current environment is
SCIENTIFIC(i.e., whenis_scientific()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_slackware(*args, **kwargs)¶
Run test only if current environment is
SLACKWARE(i.e., whenis_slackware()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_sles(*args, **kwargs)¶
Run test only if current environment is
SLES(i.e., whenis_sles()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_solaris(*args, **kwargs)¶
Run test only if current environment is
SOLARIS(i.e., whenis_solaris()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_sparc(*args, **kwargs)¶
Run test only if current environment is
SPARC(i.e., whenis_sparc()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_sparc64(*args, **kwargs)¶
Run test only if current environment is
SPARC64(i.e., whenis_sparc64()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_sunos(*args, **kwargs)¶
Run test only if current environment is
SUNOS(i.e., whenis_sunos()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_system_v(*args, **kwargs)¶
Run test only if current environment matches any member of the
SYSTEM_Vgroup (i.e., whenis_system_v()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_tabby(*args, **kwargs)¶
Run test only if current environment is
TABBY(i.e., whenis_tabby()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_tcsh(*args, **kwargs)¶
Run test only if current environment is
TCSH(i.e., whenis_tcsh()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_teamcity(*args, **kwargs)¶
Run test only if current environment is
TEAMCITY(i.e., whenis_teamcity()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_tilix(*args, **kwargs)¶
Run test only if current environment is
TILIX(i.e., whenis_tilix()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_tmux(*args, **kwargs)¶
Run test only if current environment is
TMUX(i.e., whenis_tmux()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_travis_ci(*args, **kwargs)¶
Run test only if current environment is
TRAVIS_CI(i.e., whenis_travis_ci()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_tumbleweed(*args, **kwargs)¶
Run test only if current environment is
TUMBLEWEED(i.e., whenis_tumbleweed()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_tuxedo(*args, **kwargs)¶
Run test only if current environment is
TUXEDO(i.e., whenis_tuxedo()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ubuntu(*args, **kwargs)¶
Run test only if current environment is
UBUNTU(i.e., whenis_ubuntu()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_ultramarine(*args, **kwargs)¶
Run test only if current environment is
ULTRAMARINE(i.e., whenis_ultramarine()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unix(*args, **kwargs)¶
Run test only if current environment matches any member of the
UNIXgroup (i.e., whenis_unix()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unix_layers(*args, **kwargs)¶
Run test only if current environment matches any member of the
UNIX_LAYERSgroup (i.e., whenis_unix_layers()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unix_not_macos(*args, **kwargs)¶
Run test only if current environment matches any member of the
UNIX_WITHOUT_MACOSgroup (i.e., whenis_unix_not_macos()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unknown(*args, **kwargs)¶
Run test only if current environment matches any member of the
UNKNOWNgroup (i.e., whenis_unknown()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unknown_agent(*args, **kwargs)¶
Run test only if current environment is
UNKNOWN_AGENT(i.e., whenis_unknown_agent()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unknown_architecture(*args, **kwargs)¶
Run test only if current environment is
UNKNOWN_ARCHITECTURE(i.e., whenis_unknown_architecture()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unknown_ci(*args, **kwargs)¶
Run test only if current environment is
UNKNOWN_CI(i.e., whenis_unknown_ci()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unknown_platform(*args, **kwargs)¶
Run test only if current environment is
UNKNOWN_PLATFORM(i.e., whenis_unknown_platform()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unknown_shell(*args, **kwargs)¶
Run test only if current environment is
UNKNOWN_SHELL(i.e., whenis_unknown_shell()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_unknown_terminal(*args, **kwargs)¶
Run test only if current environment is
UNKNOWN_TERMINAL(i.e., whenis_unknown_terminal()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_vscode_terminal(*args, **kwargs)¶
Run test only if current environment is
VSCODE_TERMINAL(i.e., whenis_vscode_terminal()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_wasm32(*args, **kwargs)¶
Run test only if current environment is
WASM32(i.e., whenis_wasm32()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_wasm64(*args, **kwargs)¶
Run test only if current environment is
WASM64(i.e., whenis_wasm64()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_web_terminals(*args, **kwargs)¶
Run test only if current environment matches any member of the
WEB_TERMINALSgroup (i.e., whenis_web_terminals()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_webassembly(*args, **kwargs)¶
Run test only if current environment matches any member of the
WEBASSEMBLYgroup (i.e., whenis_webassembly()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_wezterm(*args, **kwargs)¶
Run test only if current environment is
WEZTERM(i.e., whenis_wezterm()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_windows(*args, **kwargs)¶
Run test only if current environment is
WINDOWS(i.e., whenis_windows()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_windows_shells(*args, **kwargs)¶
Run test only if current environment matches any member of the
WINDOWS_SHELLSgroup (i.e., whenis_windows_shells()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_windows_terminal(*args, **kwargs)¶
Run test only if current environment is
WINDOWS_TERMINAL(i.e., whenis_windows_terminal()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_wsl1(*args, **kwargs)¶
Run test only if current environment is
WSL1(i.e., whenis_wsl1()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_wsl2(*args, **kwargs)¶
Run test only if current environment is
WSL2(i.e., whenis_wsl2()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_x86(*args, **kwargs)¶
Run test only if current environment matches any member of the
X86group (i.e., whenis_x86()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_x86_64(*args, **kwargs)¶
Run test only if current environment is
X86_64(i.e., whenis_x86_64()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_xenserver(*args, **kwargs)¶
Run test only if current environment is
XENSERVER(i.e., whenis_xenserver()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_xonsh(*args, **kwargs)¶
Run test only if current environment is
XONSH(i.e., whenis_xonsh()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_xterm(*args, **kwargs)¶
Run test only if current environment is
XTERM(i.e., whenis_xterm()returnsTrue). Skip otherwise.
- @extra_platforms.pytest.unless_zellij(*args, **kwargs)¶
Run test only if current environment is
ZELLIJ(i.e., whenis_zellij()returnsTrue). Skip otherwise.