Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
test.json_tests.test_pass2.TestCPass2 Class Reference
Inheritance diagram for test.json_tests.test_pass2.TestCPass2:
Inheritance graph
Collaboration diagram for test.json_tests.test_pass2.TestCPass2:
Collaboration graph

List of all members.

Public Member Functions

def test_parse

Static Public Attributes

 json = cjson
tuple loads = staticmethod(cjson.loads)
tuple dumps = staticmethod(cjson.dumps)

Detailed Description

Definition at line 18 of file

Member Function Documentation

Definition at line 10 of file

00011     def test_parse(self):
00012         # test in/out equivalence and parsing
00013         res = self.loads(JSON)
00014         out = self.dumps(res)
00015         self.assertEqual(res, self.loads(out))

Here is the call graph for this function:

Member Data Documentation

tuple test.json_tests.CTest.dumps = staticmethod(cjson.dumps) [static, inherited]

Definition at line 24 of file

test.json_tests.CTest.json = cjson [static, inherited]

Definition at line 22 of file

tuple test.json_tests.CTest.loads = staticmethod(cjson.loads) [static, inherited]

Definition at line 23 of file

The documentation for this class was generated from the following file: