summaryrefslogtreecommitdiff
path: root/test/test_phystokens.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-26 09:35:48 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-26 09:35:48 -0500
commit3d44754bc157f7625075451a0518273bfc3621da (patch)
tree0357cfc2045da7ef70bcb64975bc0894b630ba45 /test/test_phystokens.py
parent0d680ade2a518aadd0452391b19527cbb6773a6b (diff)
downloadpython-coveragepy-3d44754bc157f7625075451a0518273bfc3621da.tar.gz
Rename our future-happy unittest methods to match their future versions, and let the future versions win if they exist.
Diffstat (limited to 'test/test_phystokens.py')
-rw-r--r--test/test_phystokens.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_phystokens.py b/test/test_phystokens.py
index fb0b553..a01cc37 100644
--- a/test/test_phystokens.py
+++ b/test/test_phystokens.py
@@ -38,7 +38,7 @@ class PhysTokensTest(CoverageTest):
# before comparing.
source = re.sub("(?m)[ \t]+$", "", source)
tokenized = re.sub("(?m)[ \t]+$", "", tokenized)
- self.assert_multiline_equal(source, tokenized)
+ self.assertMultiLineEqual(source, tokenized)
def check_file_tokenization(self, fname):
"""Use the contents of `fname` for `check_tokenization`."""