[pypy-svn] r26972 - pypy/dist/pypy/lib/pyontology/test

ale at codespeak.net ale at codespeak.net
Mon May 8 18:02:06 CEST 2006


Author: ale
Date: Mon May  8 18:02:05 2006
New Revision: 26972

Modified:
   pypy/dist/pypy/lib/pyontology/test/test_ontology.py
Log:
removing debug print

Modified: pypy/dist/pypy/lib/pyontology/test/test_ontology.py
==============================================================================
--- pypy/dist/pypy/lib/pyontology/test/test_ontology.py	(original)
+++ pypy/dist/pypy/lib/pyontology/test/test_ontology.py	Mon May  8 18:02:05 2006
@@ -19,7 +19,7 @@
     own =owllist
     for i,dat in enumerate(data[:-1]):
         next = BNode( name + str(i))
-        print next,i,dat,own
+        next,i,dat,own
         ont.first(own, dat)
         ont.type(next, obj)
         ont.rest(own,  next)
@@ -500,7 +500,6 @@
     obj = URIRef(namespaces['owl']+'#ObjectProperty')
     O.type(sub, obj)
     O.variables[O.make_var(None,sub)].setValues([(cls,'1'), (own1,'2')])
-    for dom in O.variables.values() :print type(dom)
     py.test.raises(ConsistencyFailure, O.consistency, 3)
 
 
@@ -584,8 +583,5 @@
 def test_allvalues_file():
     O = Ontology()
     O.add_file('approved/allValuesfrom/premises002.rdf')
-    print list(O.graph.triples((None,)*3))
-    #O = Ontology()
     O.add_file('approved/allValuesfrom/nonconclusions002.rdf')
-    print list(O.graph.triples((None,)*3))
     assert 1
\ No newline at end of file



More information about the Pypy-commit mailing list