summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Winston <dwinston@alum.mit.edu>2020-05-12 11:40:53 -0400
committerDonny Winston <dwinston@alum.mit.edu>2020-05-12 11:40:53 -0400
commit9340842422ce66bed0d70b911fe9414aa2295bed (patch)
tree3333dc67e3ce3897ed31c6b88bc7e8b4ea13eb5e
parent5c94ae52ccf8428bd42560519ec84639755e66d2 (diff)
downloadrdflib-9340842422ce66bed0d70b911fe9414aa2295bed.tar.gz
py3.5 compat: stringify path
-rw-r--r--test/test_parse_file_guess_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_parse_file_guess_format.py b/test/test_parse_file_guess_format.py
index 44b1110c..abb039df 100644
--- a/test/test_parse_file_guess_format.py
+++ b/test/test_parse_file_guess_format.py
@@ -21,7 +21,7 @@ class FileParserGuessFormatTest(unittest.TestCase):
g = Graph()
with TemporaryDirectory() as tmpdirname:
newpath = Path(tmpdirname).joinpath("no_file_ext")
- copyfile("test/w3c/turtle/IRI_subject.ttl", newpath)
+ copyfile("test/w3c/turtle/IRI_subject.ttl", str(newpath))
with self.assertLogs(graph_logger, "WARNING") as log_cm:
with self.assertRaises(SAXParseException):
g.parse(str(newpath))