mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Python Imaging Library (Fork)
2c50723f14
To better follow conventional pytest style, this removes the outer wrapper class in favor of a function for some tests. These tests were picked as they are relatively simple and presented no barriers to a quick port. The assert* methods are replaced with assert statements. When necessary, a fixture is used to create a temporary directory. This commit does not convert the entire test suite to this style as some test classes use methods or other advanced features that are difficult to automatically convert. The goal is to address these issues in followup commits. Refs #4193 |
||
---|---|---|
.azure-pipelines/jobs | ||
.ci | ||
.github | ||
depends | ||
docs | ||
src | ||
Tests | ||
winbuild | ||
.appveyor.yml | ||
.codecov.yml | ||
.coveragerc | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.readthedocs.yml | ||
.travis.yml | ||
azure-pipelines.yml | ||
CHANGES.rst | ||
LICENSE | ||
Makefile | ||
MANIFEST.in | ||
README.rst | ||
RELEASING.md | ||
requirements.txt | ||
selftest.py | ||
setup.cfg | ||
setup.py | ||
tox.ini |
Pillow ====== Python Imaging Library (Fork) ----------------------------- Pillow is the friendly PIL fork by `Alex Clark and Contributors <https://github.com/python-pillow/Pillow/graphs/contributors>`_. PIL is the Python Imaging Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is `supported by Tidelift <https://tidelift.com/subscription/pkg/pypi-pillow>`_. .. start-badges .. list-table:: :stub-columns: 1 * - docs - |docs| * - tests - |linux| |macos| |windows| |gha_lint| |gha| |gha_windows| |gha_docker| |coverage| * - package - |zenodo| |tidelift| |version| |downloads| * - social - |gitter| |twitter| .. end-badges More Information ---------------- - `Documentation <https://pillow.readthedocs.io/>`_ - `Installation <https://pillow.readthedocs.io/en/latest/installation.html>`_ - `Handbook <https://pillow.readthedocs.io/en/latest/handbook/index.html>`_ - `Contribute <https://github.com/python-pillow/Pillow/blob/master/.github/CONTRIBUTING.md>`_ - `Issues <https://github.com/python-pillow/Pillow/issues>`_ - `Pull requests <https://github.com/python-pillow/Pillow/pulls>`_ - `Changelog <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst>`_ - `Pre-fork <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#pre-fork>`_ Report a Vulnerability ---------------------- To report a security vulnerability, please follow the procedure described in the `Tidelift security policy <https://tidelift.com/docs/security>`_. .. |docs| image:: https://readthedocs.org/projects/pillow/badge/?version=latest :target: https://pillow.readthedocs.io/?badge=latest :alt: Documentation Status .. |linux| image:: https://img.shields.io/travis/python-pillow/Pillow/master.svg?label=Linux%20build :target: https://travis-ci.org/python-pillow/Pillow :alt: Travis CI build status (Linux) .. |macos| image:: https://img.shields.io/travis/python-pillow/pillow-wheels/master.svg?label=macOS%20build :target: https://travis-ci.org/python-pillow/pillow-wheels :alt: Travis CI build status (macOS) .. |windows| image:: https://img.shields.io/appveyor/ci/python-pillow/Pillow/master.svg?label=Windows%20build :target: https://ci.appveyor.com/project/python-pillow/Pillow :alt: AppVeyor CI build status (Windows) .. |gha_lint| image:: https://github.com/python-pillow/Pillow/workflows/Lint/badge.svg :alt: GitHub Actions build status (Lint) .. |gha_docker| image:: https://github.com/python-pillow/Pillow/workflows/Test%20Docker/badge.svg :alt: GitHub Actions build status (Test Docker) .. |gha| image:: https://github.com/python-pillow/Pillow/workflows/Test/badge.svg :alt: GitHub Actions build status (Test Linux and macOS) .. |gha_windows| image:: https://github.com/python-pillow/Pillow/workflows/Test%20Windows/badge.svg :alt: GitHub Actions build status (Test Windows) .. |coverage| image:: https://codecov.io/gh/python-pillow/Pillow/branch/master/graph/badge.svg :target: https://codecov.io/gh/python-pillow/Pillow :alt: Code coverage .. |zenodo| image:: https://zenodo.org/badge/17549/python-pillow/Pillow.svg :target: https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow .. |tidelift| image:: https://tidelift.com/badges/package/pypi/Pillow?style=flat :target: https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=referral&utm_campaign=readme .. |version| image:: https://img.shields.io/pypi/v/pillow.svg :target: https://pypi.org/project/Pillow/ :alt: Latest PyPI version .. |downloads| image:: https://img.shields.io/pypi/dm/pillow.svg :target: https://pypi.org/project/Pillow/ :alt: Number of PyPI downloads .. |gitter| image:: https://badges.gitter.im/python-pillow/Pillow.svg :target: https://gitter.im/python-pillow/Pillow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge :alt: Join the chat at https://gitter.im/python-pillow/Pillow .. |twitter| image:: https://img.shields.io/badge/tweet-on%20Twitter-00aced.svg :target: https://twitter.com/PythonPillow :alt: Follow on https://twitter.com/PythonPillow