ÿØÿà JFIF ` ` ÿþxØ
| Server IP : 109.234.164.53 / Your IP : 216.73.216.110 Web Server : Apache System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64 User : computer3 ( 1098) PHP Version : 7.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/opt/alt/python37/lib/python3.7/site-packages/testfixtures/tests/ |
Upload File : |
# Copyright (c) 2009-2013 Simplistix Ltd
#
# See license.txt for more details.
from doctest import REPORT_NDIFF, ELLIPSIS
from glob import glob
from manuel import doctest, capture
from manuel.testing import TestSuite
from nose.plugins.skip import SkipTest
from os.path import dirname, join, pardir
from . import compat
tests = glob(join(join(dirname(__file__), pardir, pardir), 'docs', '*.txt'))
if not tests:
# tox can't find docs and installing an sdist doesn't install the docs
raise SkipTest('No docs found to test') # pragma: no cover
def test_suite():
m = doctest.Manuel(optionflags=REPORT_NDIFF | ELLIPSIS,
checker=compat.DocTestChecker())
m += compat.Manuel()
m += capture.Manuel()
return TestSuite(m, *tests)