librarystandards.py

Mon, 24 Jun 2019 10:16:36 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Mon, 24 Jun 2019 10:16:36 +0300
changeset 90
6ae063fd27dc
parent 89
d2b277cb948e
child 96
70f8049623ec
permissions
-rw-r--r--

fixed the collinear test for polygons with identical vertices

from configparser import ConfigParser
from pathlib import Path
from os.path import dirname

ini_path = Path(dirname(__file__)) / 'tests' / 'library-standards.ini'
library_standards = ConfigParser()

with ini_path.open() as file:
    library_standards.read_file(file)

mercurial