RDFLib / OWL-RL

A simple implementation of the OWL2 RL Profile on top of RDFLib: it expands the graph with all possible triples that OWL RL defines. It can be used together with RDFLib to expand an RDFLib Graph object, or as a stand alone service with its own serialization.
http://www.ivan-herman.net/Misc/2008/owlrl/
Other
144 stars 30 forks source link

6.0.2: pytest warnings #66

Open kloczek opened 10 months ago

kloczek commented 10 months ago
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-owlrl-6.0.2-%autorelease.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-owlrl-6.0.2-%autorelease.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network'
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.18, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/OWL-RL-6.0.2
collected 17 items

test/test_basic.py .                                                                                                                                                                  [  5%]
test/test_class_axioms.py .                                                                                                                                                           [ 11%]
test/test_classes.py ........                                                                                                                                                         [ 58%]
test/test_datatypes.py ...                                                                                                                                                            [ 76%]
test/test_equality.py .                                                                                                                                                               [ 82%]
test/test_owlrl_extras.py .                                                                                                                                                           [ 88%]
test/test_rdfs_closure.py ..                                                                                                                                                          [100%]

===================================================================================== warnings summary ======================================================================================
../../../../../usr/lib/python3.8/site-packages/_pytest/compat.py:328
  /usr/lib/python3.8/site-packages/_pytest/compat.py:328: UserWarning: Code: _pytestfixturefunction is not defined in namespace XSD
    return getattr(object, name, default)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=============================================================================== 17 passed, 1 warning in 0.81s ===============================================================================
rppala3 commented 2 months ago

Same to me, but with following versions pytest = "^8.3.2" rdflib = "^7.0.0"

../../../../../../opt/anaconda3/envs/xxxxxx/lib/python3.11/site-packages/_pytest/compat.py:285
  /opt/anaconda3/envs/xxxxxx/lib/python3.11/site-packages/_pytest/compat.py:285: UserWarning: Code: _pytestfixturefunction is not defined in namespace SDO
    return getattr(object, name, default)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html