~ubuntu-branches/ubuntu/utopic/python-docutils/utopic

« back to all changes in this revision

Viewing changes to test/test_pickle.py

  • Committer: Package Import Robot
  • Author(s): Dmitry Shachnev
  • Date: 2012-10-19 18:23:15 UTC
  • mfrom: (1.2.1) (11.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20121019182315-ln3lvct1pqq7mzgm
Tags: 0.9.1+svn7532-0ubuntu1
* Resynchronize with Debian packaging SVN, remaining change:
  - Use dh_python2 instead of dh_pysupport.
* New snapshot from upstream SVN, fixes build with Python 3.3.
* Add XS-Testsuite header.
* debian/patches/move-data-to-usr-share.diff: unfuzz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /usr/bin/env python
2
 
# $Id: test_pickle.py 4564 2006-05-21 20:44:42Z wiemann $
 
2
# $Id$
3
3
# Author: David Goodger <goodger@python.org>
4
4
# Copyright: This module has been placed in the public domain.
5
5
 
21
21
            settings_overrides={'_disable_config': 1})
22
22
        dill = pickle.dumps(doctree)
23
23
        reconstituted = pickle.loads(dill)
24
 
        self.assertEquals(doctree.pformat(), reconstituted.pformat())
 
24
        self.assertEqual(doctree.pformat(), reconstituted.pformat())
25
25
 
26
26
 
27
27
if __name__ == '__main__':