Пример #1
0
 def test_tokens(self):
     for i in self.are_tokens:
         result = tokenize(i[0])
         self.assertEqual(i[1],result)
Пример #2
0
 def test_tokens(self):
     for i in self.are_tokens:
         result = tokenize(i[0])
         self.assertEqual(i[1], result)
Пример #3
0
 def test_for_identifiers(self):
     for i in self.are_identifiers:
         result = tokenize(i[0])
         self.assertEqual(i[1],result)
Пример #4
0
 def test_for_identifiers(self):
     for i in self.are_identifiers:
         result = tokenize(i[0])
         self.assertEqual(i[1], result)