Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
test.json_tests.test_speedups.TestSpeedups Class Reference
Inheritance diagram for test.json_tests.test_speedups.TestSpeedups:
Inheritance graph
[legend]
Collaboration diagram for test.json_tests.test_speedups.TestSpeedups:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def test_scanstring
def test_encode_basestring_ascii

Static Public Attributes

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

Detailed Description

Definition at line 4 of file test_speedups.py.


Member Function Documentation

Definition at line 9 of file test_speedups.py.

00009 
00010     def test_encode_basestring_ascii(self):
00011         self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
00012                          "_json")
00013         self.assertIs(self.json.encoder.encode_basestring_ascii,
00014                       self.json.encoder.c_encode_basestring_ascii)
00015 

Here is the call graph for this function:

Definition at line 5 of file test_speedups.py.

00005 
00006     def test_scanstring(self):
00007         self.assertEqual(self.json.decoder.scanstring.__module__, "_json")
00008         self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)

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 __init__.py.

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

Definition at line 22 of file __init__.py.

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

Definition at line 23 of file __init__.py.


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