summaryrefslogtreecommitdiff
path: root/test/test_phystokens.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-03-13 07:35:56 -0500
committerNed Batchelder <ned@nedbatchelder.com>2010-03-13 07:35:56 -0500
commit5f4ddfceb7243e142ba0211672c7a1f34a50fa0c (patch)
treec048dba2ae945cdb4fc8d6b29368069d9096776a /test/test_phystokens.py
parentb9ea05acfab073629e7187ae2d85887389302dee (diff)
downloadpython-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.py4
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)