| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
This is being done so that it is easier for downstream packagers to run the test
suite without requiring internet access.
To run only tests that does not use the internet, run `pytest -m "not webtest"`.
The validation workflow validates that test run without internet access by
running the tests inside `firejail --net=none`.
- Closes <https://github.com/RDFLib/rdflib/issues/2293>.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Maintenance-positive changes recommended by
[flake8-bugbear](https://pypi.org/project/flake8-bugbear/), mostly explicitly
indicating unused loop variables with a prefixing underscore (it identified one
case where _none_ of the loop variables were being used) and a couple of
don't-use-mutable-objects-as-args instances.
1. Added leading underscore to unused loop variables, removed mutable objects
from args, (replacing with None and then performing an explicit “if None”
assignment in the body of the method).
2. Swapped out an excessively weak, coverage-motivated length test of __hash__()
(which was causing intermittent test failures) for an equality test of two
runs, fixes issue #2030
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- InfixOWL fixes and cleanup.
[PR #2024](https://github.com/RDFLib/rdflib/pull/2024).
- `rdflib.extras.infixowl.Restriction.__init__` will now raise a `ValueError`
if there is no restriction value instead of an `AssertionError`.
- Fixed numerous issues with
`rdflib.extras.infixowl.Restriction.restrictionKind` which was essentially
not working at all.
- Fixed how `rdflib.extras.infixowl.Property.__repr__` uses
`rdflib.namespace.OWL`.
- Removed `rdflib.extras.infixowl.Infix.__ror__` and
`rdflib.extras.infixowl.Infix.__or__` as they were broken.
- Removed unused `rdflib.extras.infixowl.termDeletionDecorator`.
- Added `rdflib.extras.infixowl.MalformedClassError` which will replace
`rdflib.extras.infixowl.MalformedClass` (which is an exception) in the next
major version.
Final stage of update to InfixOWL, removing unused code, tidying, adding some docu-comments, minor improvements in robustness, updating previously-failing tests, adding more tests. Expanded documentation to follow.
Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
|
| |
|
| |
Update of infixowl including a couple of minor run-time changes to avoid exceptions currently xfailing.
|
| |
|
| |
Whitespace gardening for `rdflb/extras/infixowl.py` and additional tests.
|
| | |
|
| |
|