summaryrefslogtreecommitdiff
path: root/test/test_path_div_future.py
blob: 82dadc29f81cfcc4249fa84e6c52c684a5330afc (plain)
1
2
3
4
5
6
7
8
9
10
from __future__ import division
from rdflib import URIRef
from rdflib.paths import Path

uri_tplt = "http://example.org/%s"


def test_path_div_future():
    path = URIRef(uri_tplt % "one") / URIRef(uri_tplt % "other")
    assert isinstance(path, Path)