~ubuntu-branches/ubuntu/natty/python3.2/natty-security

« back to all changes in this revision

Viewing changes to Lib/test/test_scope.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-12-06 12:19:09 UTC
  • mfrom: (1.1.3 upstream) (7.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20101206121909-c40vnqniur1fq5lx
Tags: 3.2~b1-1
* Python 3.2 beta1 release.
* Configure with --enable-loadable-sqlite-extensions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
510
510
                def f(self):
511
511
                    return x
512
512
 
513
 
            self.assertEquals(x, 12) # Used to raise UnboundLocalError
 
513
            self.assertEqual(x, 12) # Used to raise UnboundLocalError
514
514
        finally:
515
515
            sys.settrace(None)
516
516