Back to index

python3.2  3.2.2
Public Attributes | Private Member Functions
test.test_locale.BaseFormattingTest Class Reference
Inheritance diagram for test.test_locale.BaseFormattingTest:
Inheritance graph
[legend]
Collaboration diagram for test.test_locale.BaseFormattingTest:
Collaboration graph
[legend]

List of all members.

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Private Member Functions

def _test_formatfunc
def _test_format
def _test_format_string
def _test_currency

Detailed Description

Definition at line 139 of file test_locale.py.


Member Function Documentation

def test.test_locale.BaseFormattingTest._test_currency (   self,
  value,
  out,
  format_opts 
) [private]

Definition at line 156 of file test_locale.py.

00156 
00157     def _test_currency(self, value, out, **format_opts):
00158         self.assertEqual(locale.currency(value, **format_opts), out)
00159 

Here is the call graph for this function:

Here is the caller graph for this function:

def test.test_locale.BaseFormattingTest._test_format (   self,
  format,
  value,
  out,
  format_opts 
) [private]

Definition at line 148 of file test_locale.py.

00148 
00149     def _test_format(self, format, value, out, **format_opts):
00150         self._test_formatfunc(format, value, out,
00151             func=locale.format, **format_opts)

Here is the call graph for this function:

Here is the caller graph for this function:

def test.test_locale.BaseFormattingTest._test_format_string (   self,
  format,
  value,
  out,
  format_opts 
) [private]

Definition at line 152 of file test_locale.py.

00152 
00153     def _test_format_string(self, format, value, out, **format_opts):
00154         self._test_formatfunc(format, value, out,
00155             func=locale.format_string, **format_opts)

Here is the call graph for this function:

Here is the caller graph for this function:

def test.test_locale.BaseFormattingTest._test_formatfunc (   self,
  format,
  value,
  out,
  func,
  format_opts 
) [private]

Definition at line 144 of file test_locale.py.

00144 
00145     def _test_formatfunc(self, format, value, out, func, **format_opts):
00146         self.assertEqual(
00147             func(format, value, **format_opts), out)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.


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