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


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)])