From 3cc5a4fcaea8f1e2fd47c53135b53f8edcb8619d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 5 Apr 2023 07:01:18 -0400 Subject: Factor out and rewrite command-line interface --- test/serd_test_util/__init__.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'test/serd_test_util/__init__.py') 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.""" -- cgit v1.2.1