Skip to main content

an executable implementation of the throwaway `_`

Project description


Veritas is a Python library implementing a throwaway variable that attempts to return true no matter how it is called upon.

It is intended for writing tests where you must provide some variables to an interface but your particular test will never read what happens to them. Veritas attempts to make sure that whatever the side effects on these variables it will not derail program execution. It implements comparable, numeric, callable, container, iterator, binary, in-place, unary, context manager, and async interfaces.

License:BSD 3-clause; See LICENSE


From PyPI


$ pip install veritas

For hacking


$ git clone
# Create a virtualenvironment
$ pip install -r requirements-dev.txt


see tests for example usage

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for veritas, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size veritas-0.1.4.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page