File: test_path_div_future.py

package info (click to toggle)
rdflib 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 38,248 kB
  • sloc: python: 39,216; sh: 153; makefile: 110
file content (9 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
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)