diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-26 09:35:48 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-26 09:35:48 -0500 |
| commit | 27864c812b0ae954e9adabe81ed19cbf8f407c2b (patch) | |
| tree | a4773d309299c14c52905e8bbcffbe77464f2e1f /test/test_phystokens.py | |
| parent | ac42db5a794b3ddfdc5227b4cc9faccc8df4aaa1 (diff) | |
| download | python-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.py | 2 |
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`.""" |
