aboutsummaryrefslogtreecommitdiffstats
path: root/test/serd_test_util/__init__.py
diff options
context:
space:
mode:
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."""