summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraayush17002 <32807623+aayush17002@users.noreply.github.com>2020-05-25 17:08:56 +0530
committerGitHub <noreply@github.com>2020-05-25 17:08:56 +0530
commit12a1d8d06ea3050e3bdd3eaadf7957c8d34e70aa (patch)
treebe2e12cc6992c79056761a4667a16584dc7223c7
parent98efc528ed73eada219d906b74f906134739cff7 (diff)
downloadrdflib-12a1d8d06ea3050e3bdd3eaadf7957c8d34e70aa.tar.gz
Updated test for #801 as per latest comment
Removed print statement Reformatting assert statement
-rw-r--r--test/test_issue801.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_issue801.py b/test/test_issue801.py
index 112016d5..25fc7434 100644
--- a/test/test_issue801.py
+++ b/test/test_issue801.py
@@ -13,9 +13,8 @@ class TestIssue801(unittest.TestCase):
g.bind('', example)
node = BNode()
g.add((node, example['first%20name'], Literal('John')))
- self.assertEqual(g.serialize(format="turtle").decode().split("\n")[-3] == '[] :first%20name "John" .', True)
- print (g.serialize(format="turtle").decode())
-
+ self.assertEqual(g.serialize(format="turtle").decode().split("\n")[-3],
+ '[] :first%20name "John" .')
if __name__ == "__main__":
unittest.main()