Skip to main content

example program:

from pyunittests import *

def funcBeingTested(inp):
    return hi
    if inp in [15]:
        return inp*3
    else:
        return inp*2

def raise_test():
    return funcBeingTested(5)

def test1():
    expect(raise_test).toRaise(NameError)

it(f'doubles 5 correctly', test1, 'max')

Release files for pyunittests 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyunittests 0.0.1
File Size Uploaded
pyunittests-0.0.1.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyunittests 0.0.1
File Interpreter ABI Platform
pyunittests-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / pyunittests-0.0.1.tar.gz

Download URL pyunittests-0.0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d6a5990fe0f7e38163a4af2d93b65470396eaef08ccc48e4f63b958f76084ac0
BLAKE2b-256 checksum
How to use checksums
ae58eb407583a87e08f704e28eede60c014b23b502feef3072948d5261d167d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / pyunittests-0.0.1-py3-none-any.whl

Download URL pyunittests-0.0.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c0088577dd33f246fa26f304d86c50e61f9c162482d4f6f3ac461b1ac88ce4c
BLAKE2b-256 checksum
How to use checksums
90e107f53627c5c905da68edf0f9e38f82a8b16f555bb459a62930d25e44dd3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page