~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Lib/test/test__locale.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        except Error:
46
46
            set_locale = "<not able to determine>"
47
47
        known_value = known_numerics.get(used_locale,
48
 
                                    ('', ''))[data_type is 'thousands_sep']
 
48
                                    ('', ''))[data_type == 'thousands_sep']
49
49
        if known_value and calc_value:
50
50
            self.assertEquals(calc_value, known_value,
51
51
                                self.lc_numeric_err_msg % (