aboutsummaryrefslogtreecommitdiffstats
path: root/test/serd_test_util/__init__.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-05 07:01:18 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit3cc5a4fcaea8f1e2fd47c53135b53f8edcb8619d (patch)
tree4496d7af98b1033630d992db1b8788077ebda8f6 /test/serd_test_util/__init__.py
parent89acd9d099bd46c1cbf17ee3a7bb78610a8138fe (diff)
downloadserd-3cc5a4fcaea8f1e2fd47c53135b53f8edcb8619d.tar.gz
serd-3cc5a4fcaea8f1e2fd47c53135b53f8edcb8619d.tar.bz2
serd-3cc5a4fcaea8f1e2fd47c53135b53f8edcb8619d.zip
Factor out and rewrite command-line interface
Diffstat (limited to 'test/serd_test_util/__init__.py')
-rw-r--r--test/serd_test_util/__init__.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/serd_test_util/__init__.py b/test/serd_test_util/__init__.py
index f465a4b7..5f0e0033 100644
--- a/test/serd_test_util/__init__.py
+++ b/test/serd_test_util/__init__.py
@@ -110,19 +110,6 @@ def file_path(suite_dir, uri):
return os.path.relpath(os.path.join(suite_dir, os.path.basename(uri)))
-def syntax_from_path(path):
- """Return the serd syntax name corresponding to a file path."""
-
- extensions = {
- ".ttl": "turtle",
- ".nt": "ntriples",
- ".trig": "trig",
- ".nq": "nquads",
- }
-
- return extensions[os.path.splitext(path)[1]]
-
-
def earl_assertion(test, passed, asserter):
"""Return a Turtle description of an assertion for the test report."""