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