Ignore:
Timestamp:
08/12/05 16:15:19 (9 years ago)
Author:
xi
Message:

syck.dump() is implemented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_parser.py

    r17 r20  
    169169""" 
    170170 
     171ALIASES = """ 
     172- &alias foo 
     173- *alias 
     174""" 
     175 
    171176class TestAttributes(unittest.TestCase): 
    172177 
     
    359364        self.assertRaises(TypeError, lambda: parser.parse()) 
    360365 
     366class 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 
Note: See TracChangeset for help on using the changeset viewer.