diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-01-26 19:03:19 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-01-26 19:03:19 +0000 |
| commit | df86fa8525b848efc79172c1e05d16a03f088e80 (patch) | |
| tree | 90d118d9a81952c9acbc5e85757f0e7316a11bd1 /test/test_utils.py | |
| parent | d03bb68e6944d839d296dcc3940cccf16937cf29 (diff) | |
| download | docutils-df86fa8525b848efc79172c1e05d16a03f088e80.tar.gz | |
Small fixes and clean-ups by Adam Turner.
Remove duplicate definitions in language modules.
Import locale_encoding from `docutils.io`
Use decorator for staticmethod
Use True/False over 1/0.
`collections.OrderedDict` no longer required,
all dictionaries are ordered from Python 3.7
Remove obsolete `__cmp__` method
cf. https://docs.python.org/3/whatsnew/3.0.html#ordering-comparisons
Use str instead of type('').
Zero-argument ``super()``
Simplify test support module as
"u" prefix isn't used by repr in Python 3.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8973 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_utils.py')
| -rwxr-xr-x | test/test_utils.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 25ff011e3..d67f8c63b 100755 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -1,5 +1,4 @@ #! /usr/bin/env python3 -# -*- coding: utf-8 -*- # $Id$ # Author: David Goodger <goodger@python.org> |
