summaryrefslogtreecommitdiff
path: root/test/test_conjunctivegraph
diff options
context:
space:
mode:
authorIwan Aucamp <aucampia@gmail.com>2022-05-16 20:44:44 +0200
committerIwan Aucamp <aucampia@gmail.com>2022-05-17 00:38:56 +0200
commit5a0c55959ea13f29407f4d265fa4d5ffef89c37e (patch)
tree255151915c9cee681563e970d61c0a64cc8d4dfd /test/test_conjunctivegraph
parent63e4913104ee0fd336e800e7fefe8e21633d4688 (diff)
downloadrdflib-5a0c55959ea13f29407f4d265fa4d5ffef89c37e.tar.gz
test: remove unused imports in test code
This patch removes unused imports in test code. This is mainly to remove the potential snag for flake8/flakeheaven. The actual cleanup was done with `pycln --all test`. Also: - Remove superflous `pass` statements.
Diffstat (limited to 'test/test_conjunctivegraph')
-rw-r--r--test/test_conjunctivegraph/test_conjunctive_graph.py1
-rw-r--r--test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py8
2 files changed, 3 insertions, 6 deletions
diff --git a/test/test_conjunctivegraph/test_conjunctive_graph.py b/test/test_conjunctivegraph/test_conjunctive_graph.py
index 67078e5f..d6802f3f 100644
--- a/test/test_conjunctivegraph/test_conjunctive_graph.py
+++ b/test/test_conjunctivegraph/test_conjunctive_graph.py
@@ -2,7 +2,6 @@
Tests for ConjunctiveGraph that do not depend on the underlying store
"""
-from os import path
import pytest
diff --git a/test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py b/test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py
index 9cd49abe..300bbb69 100644
--- a/test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py
+++ b/test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py
@@ -1,10 +1,8 @@
import os
-from test.data import TEST_DATA_DIR, bob, cheese
-from test.data import context1 as c1
-from test.data import context2 as c2
-from test.data import hates, likes, michel, pizza, tarek
+from test.data import TEST_DATA_DIR, cheese
+from test.data import likes, michel, pizza, tarek
-from rdflib import ConjunctiveGraph, Graph, URIRef
+from rdflib import ConjunctiveGraph, Graph
sportquadstrig = open(os.path.join(TEST_DATA_DIR, "sportquads.trig")).read()