Skip to main content

Hypothesis extension for generating filesystem paths. Anything the built-in Python function open() accepts can be generated.

Example

from hypothesis import given
from hypothesis_fspaths import fspaths

@given(fspaths())
def test_open_file(path):
    try:
        open(path).close()
    except IOError:
        pass
https://travis-ci.org/lazka/hypothesis-fspaths.svg?branch=master

Metadata

Release files for hypothesis-fspaths 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 hypothesis-fspaths 0.1
File Size Uploaded
hypothesis-fspaths-0.1.tar.gz 4.2 kB Details

Release files / hypothesis-fspaths-0.1.tar.gz

Download URL hypothesis-fspaths-0.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d1124ddc2a37cb54cdaa573bb16a40841a37598c8fc7b83dd07babffc6b01368
BLAKE2b-256 checksum
How to use checksums
be00208e4c5be58fdc92aa7bfac82e94c524150183fc8b0ec995d70d6e0db43c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

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