New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pytest-cython

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-cython

A plugin for testing Cython extension modules

  • 0.3.1
  • PyPI
  • Socket score

Maintainers
2

Overview

PyPI Package latest release PyPI Package monthly downloads PyPI Wheel Supported versions Supported implementations Conda Version Conda Downloads

CI Check Status CI Tests Status Documentation Status

This pytest plugin allows for the doctesting of C extension modules for Python, specifically created through cython.

Installation

You can install "pytest-cython" via pip from PyPI:

pip install pytest-cython

Usage

Basic usage:

pytest --doctest-cython

You can also run the doctests for a single .pyx file as such:

pytest --doctest-cython path/to/module.pyx

Note

It is assumed that the C extension modules have been build in place before running py.test and there is a matching Cython .pyx file

Compatibility

The following table describes the versions of Pytest and Cython the each version of the pytest-cython plugin is compatible with.

VersionPytestCython
0.3.x80.29, 3
0.2.x6, 70.29, 3

Issues

If you encounter any problems, please file an issue along with a detailed description.

Acknowledgements

This pytest plugin was generated with cookiecutter along with @hackebrot's cookiecutter-pytest-plugin and @ionelmc's cookiecutter-pylibrary templates.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc