Diff of /Test/backup/test.py [5d0d34] .. [5cabfd]  Maximize  Restore

Switch to side-by-side view

--- a/Test/backup/test.py
+++ b/Test/backup/test.py
@@ -1,11 +1,9 @@
 # test.py
 
-import os.path
 from pyke import knowledge_engine
 
 def test():
-    engine = knowledge_engine.engine(os.path.dirname(__file__),
-                                     'Test.backup.compiled_krb')
+    engine = knowledge_engine.engine('Test.backup')
     engine.activate('backup')
     (ans,), plan = engine.prove_1('backup', 'top', (), 1)
     print ans

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks