Changeset 20 for trunk/tests/test_parser.py
- Timestamp:
- 08/12/05 16:15:19 (7 years ago)
- Files:
-
- 1 modified
-
trunk/tests/test_parser.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/test_parser.py
r17 r20 169 169 """ 170 170 171 ALIASES = """ 172 - &alias foo 173 - *alias 174 """ 175 171 176 class TestAttributes(unittest.TestCase): 172 177 … … 359 364 self.assertRaises(TypeError, lambda: parser.parse()) 360 365 366 class TestParsingAliases(unittest.TestCase): 367 368 def testAliases(self): 369 parser = _syck.Parser(ALIASES) 370 node = parser.parse() 371 self.assert_(node.value[0] is node.value[1]) 372
