summaryrefslogtreecommitdiff
path: root/test/test_issues/test_issue_git_200.py
blob: b5640a53d5d5b9f050cf4181c9100e64f26b42eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import pytest

import rdflib


def test_broken_add():

    g = rdflib.Graph()
    with pytest.raises(AssertionError):
        g.add((1, 2, 3))
    with pytest.raises(AssertionError):
        g.addN([(1, 2, 3, g)])