Skip to content

Commit

Permalink
Placed importskip before importing EMMO
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Dec 16, 2024
1 parent 5fe9cf7 commit 4aaeed8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/dataset/test_tabledoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@

import pytest

from tripper import Triplestore
from tripper.dataset import TableDoc


# if True:
def test_as_dicts():
"""Test the as_dicts() method."""

from tripper import DCAT, EMMO, Namespace

pytest.importorskip("rdflib")

from tripper import DCAT, EMMO, Namespace, Triplestore
from tripper.dataset import TableDoc

ONTO = Namespace("http:/example.com/onto#")
DS = Namespace("http:/example.com/datasets#")

Expand Down

0 comments on commit 4aaeed8

Please sign in to comment.