Patchwork D7519: test-doctest: include dateutil

login
register
mail settings
Submitter phabricator
Date Nov. 25, 2019, 8:50 p.m.
Message ID <differential-rev-PHID-DREV-sxtg3n7o2a2tpadkko55-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/43519/
State Superseded
Headers show

Comments

phabricator - Nov. 25, 2019, 8:50 p.m.
quark created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  `mercurial.utils.dateutil` has dostrings that contain doctests. Include them.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7519

AFFECTED FILES
  tests/test-doctest.py

CHANGE DETAILS




To: quark, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-doctest.py b/tests/test-doctest.py
--- a/tests/test-doctest.py
+++ b/tests/test-doctest.py
@@ -82,6 +82,7 @@ 
 testmod('mercurial.url')
 testmod('mercurial.util')
 testmod('mercurial.util', testtarget='platform')
+testmod('mercurial.utils.dateutil')
 testmod('mercurial.utils.stringutil')
 testmod('hgext.convert.convcmd')
 testmod('hgext.convert.cvsps')