summaryrefslogtreecommitdiff
path: root/test/test_prettyxml.py
diff options
context:
space:
mode:
authorAshley Sommer <ashleysommer@gmail.com>2021-02-05 17:23:55 +1000
committerAshley Sommer <ashleysommer@gmail.com>2021-02-05 17:23:55 +1000
commite5f7a8b9bc7fc7e3f7ce81246a0f7a143405d238 (patch)
tree825fc0c946d55a98b40b9c500ba8fd6f162b02bf /test/test_prettyxml.py
parent7fdd271a61a6d78d93f4405df5b2541b10a0b2d8 (diff)
downloadrdflib-test_drone.tar.gz
Added drone runner configtest_drone
Fixed some test deprecations
Diffstat (limited to 'test/test_prettyxml.py')
-rw-r--r--test/test_prettyxml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_prettyxml.py b/test/test_prettyxml.py
index 86027fb3..3e7e47c0 100644
--- a/test/test_prettyxml.py
+++ b/test/test_prettyxml.py
@@ -70,7 +70,7 @@ def serialize_and_load(sourceGraph, makeSerializer):
stream = serialize(sourceGraph, makeSerializer, False)
stream.seek(0)
reparsedGraph = ConjunctiveGraph()
- reparsedGraph.load(stream)
+ reparsedGraph.parse(stream, format='xml')
return reparsedGraph