diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2010-03-13 07:35:56 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-03-13 07:35:56 -0500 |
| commit | 5f4ddfceb7243e142ba0211672c7a1f34a50fa0c (patch) | |
| tree | c048dba2ae945cdb4fc8d6b29368069d9096776a /test/test_phystokens.py | |
| parent | b9ea05acfab073629e7187ae2d85887389302dee (diff) | |
| download | python-coveragepy-5f4ddfceb7243e142ba0211672c7a1f34a50fa0c.tar.gz | |
Check that our tokenizer works properly for dos-line-ended files.
Diffstat (limited to 'test/test_phystokens.py')
| -rw-r--r-- | test/test_phystokens.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_phystokens.py b/test/test_phystokens.py index 6b16d68..6b533cf 100644 --- a/test/test_phystokens.py +++ b/test/test_phystokens.py @@ -75,5 +75,7 @@ class PhysTokensTest(CoverageTest): def test_stress(self): # Check the tokenization of a stress-test file. - stress = os.path.join(HERE, "stress_phystoken.txt") + stress = os.path.join(HERE, "stress_phystoken.tok") + self.check_file_tokenization(stress) + stress = os.path.join(HERE, "stress_phystoken_dos.tok") self.check_file_tokenization(stress) |
