summaryrefslogtreecommitdiff
path: root/test/test_parser.py
diff options
context:
space:
mode:
authorNicholas Car <nicholas.car@surroundaustralia.com>2020-05-16 21:00:24 +1000
committerNicholas Car <nicholas.car@surroundaustralia.com>2020-05-16 21:00:24 +1000
commit0be6f6039479ce29cf71b11e76be54e186130036 (patch)
tree897d208525a7e8952fb496151db074d49dcdeb3a /test/test_parser.py
parent2a8d70824e1b4caf0c606074a44ac3a15fa72718 (diff)
downloadrdflib-0be6f6039479ce29cf71b11e76be54e186130036.tar.gz
blacked all python files
Diffstat (limited to 'test/test_parser.py')
-rw-r--r--test/test_parser.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/test_parser.py b/test/test_parser.py
index d311a89b..3aaf5658 100644
--- a/test/test_parser.py
+++ b/test/test_parser.py
@@ -7,8 +7,8 @@ from rdflib.graph import Graph
class ParserTestCase(unittest.TestCase):
- backend = 'default'
- path = 'store'
+ backend = "default"
+ path = "store"
def setUp(self):
self.graph = Graph(store=self.backend)
@@ -19,7 +19,8 @@ class ParserTestCase(unittest.TestCase):
def testNoPathWithHash(self):
g = self.graph
- g.parse(data="""\
+ g.parse(
+ data="""\
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@@ -31,7 +32,9 @@ class ParserTestCase(unittest.TestCase):
</rdfs:Class>
</rdf:RDF>
-""", publicID="http://example.org")
+""",
+ publicID="http://example.org",
+ )
subject = URIRef("http://example.org#")
label = g.value(subject, RDFS.label)