Commits

Aleš Erjavec  committed 5fcc75c

Fixed __main__ part in test_logreg.

  • Participants
  • Parent commits 7326088

Comments (0)

Files changed (1)

File Orange/testing/unit/tests/test_logreg.py

         self.assertTrue([a1 == a2 for a1, a2 in zip(attrs, new_dataset.domain.attributes)])
 
 if __name__ == "__main__":
-    import Orange, os
-    import Orange.misc.environ
-    data = Orange.data.Table(os.path.expanduser("~/Development/orange/doc/datasets/titanic.tab"))
-    c = LogRegLearner(data)
-    import pickle
-    var = c.continuized_domain[0]
-    pickle.dumps(var)
-#    unittest.main()
+    unittest.main()