File: __init__.py

package info (click to toggle)
python-geojson 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 292 kB
  • sloc: python: 1,081; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 392 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
import doctest
import glob
import os

optionflags = (doctest.REPORT_ONLY_FIRST_FAILURE |
               doctest.NORMALIZE_WHITESPACE |
               doctest.ELLIPSIS)

_basedir = os.path.dirname(__file__)
paths = glob.glob(f"{_basedir}/*.txt")
test_suite = doctest.DocFileSuite(*paths, **dict(module_relative=False,
                                                 optionflags=optionflags))