summaryrefslogtreecommitdiff
path: root/test/test_path_div_future.py
blob: ca8357d5c46087363d51827073cc172525e29bfb (plain)
1
2
3
4
5
6
7
8
9
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)