summaryrefslogtreecommitdiff
path: root/test/test_sparql/test_service.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_sparql/test_service.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_sparql/test_service.py')
-rw-r--r--test/test_sparql/test_service.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test_sparql/test_service.py b/test/test_sparql/test_service.py
index 3a827054..61c317ac 100644
--- a/test/test_sparql/test_service.py
+++ b/test/test_sparql/test_service.py
@@ -1,11 +1,8 @@
import json
from contextlib import ExitStack
from test.utils import helper
-from test.utils.httpservermock import (
- MethodName,
- MockHTTPResponse,
- ServedBaseHTTPServerMock,
-)
+from test.utils.http import MethodName, MockHTTPResponse
+from test.utils.httpservermock import ServedBaseHTTPServerMock
from typing import (
Dict,
FrozenSet,