diff options
| author | Tarek Ziade <tarek@ziade.org> | 2010-03-04 20:41:35 +0100 |
|---|---|---|
| committer | Tarek Ziade <tarek@ziade.org> | 2010-03-04 20:41:35 +0100 |
| commit | 9e6a32735e26789d1f191f3e4f2ab70893fb4c03 (patch) | |
| tree | 912443d4c7f4d81bbb8b688b1d94f057bd024d53 /src/distutils2 | |
| parent | 674cf128bb5cf06ae940a5583d46d9c0625f5886 (diff) | |
| download | disutils2-9e6a32735e26789d1f191f3e4f2ab70893fb4c03.tar.gz | |
this test is not necessary anymore
Diffstat (limited to 'src/distutils2')
| -rw-r--r-- | src/distutils2/tests/test_check.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/distutils2/tests/test_check.py b/src/distutils2/tests/test_check.py index a755607..9f492f7 100644 --- a/src/distutils2/tests/test_check.py +++ b/src/distutils2/tests/test_check.py @@ -47,22 +47,6 @@ class CheckTestCase(support.LoggingSilencer, cmd = self._run(metadata, strict=1) self.assertEquals(cmd._warnings, 0) - def test_check_document(self): - if not _HAS_DOCUTILS: # won't test without docutils - return - pkg_info, dist = self.create_dist() - cmd = check(dist) - - # let's see if it detects broken rest - broken_rest = 'title\n===\n\ntest' - msgs = cmd._check_rst_data(broken_rest) - self.assertEquals(len(msgs), 1) - - # and non-broken rest - rest = 'title\n=====\n\ntest' - msgs = cmd._check_rst_data(rest) - self.assertEquals(len(msgs), 0) - def test_check_restructuredtext(self): if not _HAS_DOCUTILS: # won't test without docutils return |
