diff options
| author | Georg Brandl <georg@python.org> | 2014-01-10 15:11:27 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2014-01-10 15:11:27 +0100 |
| commit | 019709d45c93f403fe9ef8ca2abb0606b5b71108 (patch) | |
| tree | 8eb492a622326cffcf1da344ffb2954c54af907b /tests | |
| parent | 428ec87be0137b9ea3acf7ccf50cce773760b2e9 (diff) | |
| download | sphinx-019709d45c93f403fe9ef8ca2abb0606b5b71108.tar.gz | |
Closes #1312: use non-deprecated unittest-like names
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_metadata.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_metadata.py b/tests/test_metadata.py index db955390..92dbe1c9 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -14,7 +14,7 @@ from util import TestApp -from nose.tools import assert_equals +from nose.tools import assert_equal app = env = None @@ -64,6 +64,6 @@ def test_docinfo(): } # I like this way of comparing dicts - easier to see the error. for key in exampledocinfo: - yield assert_equals, exampledocinfo.get(key), expecteddocinfo.get(key) + yield assert_equal, exampledocinfo.get(key), expecteddocinfo.get(key) # but then we still have to check for missing keys - yield assert_equals, set(expecteddocinfo.keys()), set(exampledocinfo.keys()) + yield assert_equal, set(expecteddocinfo.keys()), set(exampledocinfo.keys()) |
