summaryrefslogtreecommitdiff
path: root/test/test_graph/test_graph.py
diff options
context:
space:
mode:
authorIwan Aucamp <aucampia@gmail.com>2023-04-12 22:10:43 +0200
committerGitHub <noreply@github.com>2023-04-12 22:10:43 +0200
commit7df77cd3fa0381ae2b309981230eaa0d42e90b79 (patch)
tree0d02cc4f882e68ae7b3341b805c2338691a6853e /test/test_graph/test_graph.py
parent81d13d432b7e49b557b5de11691bdeaed31a9b06 (diff)
downloadrdflib-7df77cd3fa0381ae2b309981230eaa0d42e90b79.tar.gz
fix: correct imports and `__all__` (#2340)
Disable [`implicit_reexport`](https://mypy.readthedocs.io/en/stable/config_file.html#confval-implicit_reexport) and eliminate all errors reported by mypy after this. This helps ensure that import statements import from the right module and that the `__all__` variable is correct.
Diffstat (limited to 'test/test_graph/test_graph.py')
-rw-r--r--test/test_graph/test_graph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_graph/test_graph.py b/test/test_graph/test_graph.py
index 33898d97..b133c2b5 100644
--- a/test/test_graph/test_graph.py
+++ b/test/test_graph/test_graph.py
@@ -10,7 +10,7 @@ from urllib.error import HTTPError, URLError
import pytest
-from rdflib import Graph, URIRef, plugin
+from rdflib import Graph, URIRef
from rdflib.exceptions import ParserError
from rdflib.namespace import Namespace, NamespaceManager
from rdflib.plugin import PluginException
@@ -62,7 +62,7 @@ def test_property_namespace_manager() -> None:
def get_store_names() -> Set[Optional[str]]:
- names: Set[Optional[str]] = {*get_unique_plugin_names(plugin.Store)}
+ names: Set[Optional[str]] = {*get_unique_plugin_names(Store)}
names.difference_update(
{
"default",