Example #1
0
 def test_conll(self):
     self.assertEqual(os.path.exists(CoNLL.home()), True)
     def f(): CoNLL.path('ddd')
     self.assertRaises(BaseException, f)
     def f(): CoNLL2002.path('ddd')
     self.assertRaises(BaseException, f)
     def f(): CoNLL2003.path('ddd')
     self.assertRaises(BaseException, f)
     def f(): CoNLL2000.path('ddd')
     self.assertRaises(BaseException, f)
Example #2
0
    def test_conll(self):
        self.assertEqual(os.path.exists(CoNLL.home()), True)

        def f():
            CoNLL.path('ddd')

        self.assertRaises(BaseException, f)

        def f():
            CoNLL2002.path('ddd')

        self.assertRaises(BaseException, f)

        def f():
            CoNLL2003.path('ddd')

        self.assertRaises(BaseException, f)

        def f():
            CoNLL2000.path('ddd')

        self.assertRaises(BaseException, f)
Example #3
0
 def f():
     CoNLL.path('ddd')
Example #4
0
 def f(): CoNLL.path('ddd')
 self.assertRaises(BaseException, f)