diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_libmat2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py index 46e234e..250b5ec 100644 --- a/tests/test_libmat2.py +++ b/tests/test_libmat2.py | |||
| @@ -652,7 +652,7 @@ class TestCleaning(unittest.TestCase): | |||
| 652 | os.remove('./tests/data/clean.cleaned.html') | 652 | os.remove('./tests/data/clean.cleaned.html') |
| 653 | 653 | ||
| 654 | with open('./tests/data/clean.html', 'w') as f: | 654 | with open('./tests/data/clean.html', 'w') as f: |
| 655 | f.write('<meta><meta/></meta>') | 655 | f.write('<meta><meta/><!----><!-- test--></meta>') |
| 656 | p = web.HTMLParser('./tests/data/clean.html') | 656 | p = web.HTMLParser('./tests/data/clean.html') |
| 657 | self.assertTrue(p.remove_all()) | 657 | self.assertTrue(p.remove_all()) |
| 658 | with open('./tests/data/clean.cleaned.html', 'r') as f: | 658 | with open('./tests/data/clean.cleaned.html', 'r') as f: |
