adjust "CLI Example" test

This commit is contained in:
Erik Johnson 2013-08-14 20:17:39 -05:00
parent 7d4739da2f
commit 176ab16f40

View File

@ -66,7 +66,7 @@ class SysModuleTest(integration.ModuleCase):
continue
if not isinstance(docs[fun], basestring):
nodoc.add(fun)
elif not re.search(r'([E|e]xample(?:s)?)+(?:.*)::', docs[fun]):
elif not re.search(r'([E|e]xample(?:s)?)+(?:.*)::?', docs[fun]):
noexample.add(fun)
if not nodoc and not noexample: