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
commit27864c812b0ae954e9adabe81ed19cbf8f407c2b (patch)
treea4773d309299c14c52905e8bbcffbe77464f2e1f /test/test_phystokens.py
parentac42db5a794b3ddfdc5227b4cc9faccc8df4aaa1 (diff)
downloadpython-coveragepy-git-27864c812b0ae954e9adabe81ed19cbf8f407c2b.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 fb0b5535..a01cc374 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`."""