Exemple #1
0
 def test_list(self):
     self.assertFalse(prose.entry_is_int(LIST))
Exemple #2
0
 def test_var(self):
     self.assertFalse(prose.entry_is_int(VAR))
Exemple #3
0
 def test_int(self):
     self.assertTrue(prose.entry_is_int(INT))
Exemple #4
0
 def test_str(self):
     self.assertFalse(prose.entry_is_int(STR))
Exemple #5
0
 def test_empty_list(self):
     self.assertFalse(prose.entry_is_int(()))