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