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
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)
| 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 |