Package: python-mccabe / 0.7.0-1
Metadata
Package | Version | Patches format |
---|---|---|
python-mccabe | 0.7.0-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
Fix handling missing hypothesmith gracefully.patch | (download) |
test_mccabe.py |
70 36 34 - 0 ! |
fix handling missing hypothesmith gracefully Fix test_mccabe not to fail to import if hypothesmith is not available. While the original code seems to attempt to handle missing hypothesmith, the file fails with NameError without it. This is because hypothesis decorators are used in global scope. Guard the whole test function to be defined only when hypothesmith is available. |
setup.cfg Use license_files.patch | (download) |
setup.cfg |
2 1 1 - 0 ! |
setup.cfg: use license_files |
1