summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGunnar Aastrand Grimnes <gromgull@gmail.com>2013-04-26 09:54:57 +0200
committerGunnar Aastrand Grimnes <gromgull@gmail.com>2013-04-26 09:54:57 +0200
commit61c10c46124d265fde7e4aad9819f59fdcbfa8b9 (patch)
tree4e79012bcc7991ae269b306314dd134b183dbd92 /test
parent6065cb850b0518a2172969795896ad816dafc176 (diff)
downloadrdflib-61c10c46124d265fde7e4aad9819f59fdcbfa8b9.tar.gz
fix tests when no bsddb available, fix py3 tests
Diffstat (limited to 'test')
-rw-r--r--test/test_trig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_trig.py b/test/test_trig.py
index bdf24fe2..440a1fda 100644
--- a/test/test_trig.py
+++ b/test/test_trig.py
@@ -41,7 +41,7 @@ class TestTrig(unittest.TestCase):
s=g.serialize(format='trig')
- self.assertEqual(len(re.findall("p1", s)), 1)
- self.assertEqual(len(re.findall("p2", s)), 1)
+ self.assertEqual(len(re.findall(b("p1"), s)), 1)
+ self.assertEqual(len(re.findall(b("p2"), s)), 1)
self.assert_(b('{}') not in s) # no empty graphs!