Back to index

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

List of all members.

Public Member Functions

def test_parse

Static Public Attributes

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

Detailed Description

Definition at line 17 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.PyTest.dumps = staticmethod(pyjson.dumps) [static, inherited]

Definition at line 17 of file

test.json_tests.PyTest.json = pyjson [static, inherited]

Definition at line 15 of file

tuple test.json_tests.PyTest.loads = staticmethod(pyjson.loads) [static, inherited]

Definition at line 16 of file

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