summaryrefslogtreecommitdiff
path: root/test/test_bnode_ncname.py
diff options
context:
space:
mode:
authorgromgull <gromgull@gmail.com>2012-10-10 15:26:36 +0200
committergromgull <gromgull@gmail.com>2012-10-10 15:26:36 +0200
commit26d25faa90483ed1ba7675d159d10e955dbaf442 (patch)
treee89079465e79df95c763ef07fc16fb465c0f77a4 /test/test_bnode_ncname.py
parent9745e3ac22f5bb40fa8c7d49514a5df919341198 (diff)
downloadrdflib-26d25faa90483ed1ba7675d159d10e955dbaf442.tar.gz
fixed bnode docttest and chatty conventions test
Diffstat (limited to 'test/test_bnode_ncname.py')
-rw-r--r--test/test_bnode_ncname.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_bnode_ncname.py b/test/test_bnode_ncname.py
index 73eb6aaf..0669de4f 100644
--- a/test/test_bnode_ncname.py
+++ b/test/test_bnode_ncname.py
@@ -68,7 +68,7 @@ def is_ncname(value):
>>> assert is_ncname("urn:uuid:"+str(uuid4())) == True
>>> from rdflib import BNode
- >>> assert is_ncname(BNode(_sn_gen=bnode_uuid(), _prefix="urn:uuid:")) == True
+ >>> assert is_ncname(BNode(_sn_gen=bnode_uuid, _prefix="urn:uuid:")) == True
"""
ncnameexp = re.compile('[A-Za-z][A-Za-z0-9]*')
if ncnameexp.match(value):