Skip to content

Commit 2c900f8

Browse files
author
Graham Higgins
committed
Disable trix parser tests with Jython
1 parent cdfd371 commit 2c900f8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/test_trix_parse.py

100755100644
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,18 @@ def testSpec(self):
3535

3636
#print "Parsed %d triples"%len(g)
3737

38+
def testNG4j(self):
3839

40+
g=ConjunctiveGraph()
41+
42+
g.parse("test/trix/ng4jtest.trix",format="trix")
43+
44+
#print "Parsed %d triples"%len(g)
3945

46+
import platform
47+
if platform.system() == 'Java':
48+
from nose import SkipTest
49+
raise SkipTest('Jython issues - "JavaSAXParser" object has no attribute "start_namespace_decl"')
4050

4151
if __name__=='__main__':
4252
unittest.main()

0 commit comments

Comments
 (0)