blob: 953c1312e868a126a8a4b3d1441f6b1f57337e98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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)])
|