librarystandards.py

changeset 147
bec55b021ae7
parent 96
70f8049623ec
equal deleted inserted replaced
146:3555679d276b 147:bec55b021ae7
1 from configparser import ConfigParser 1 from configparser import ConfigParser
2 from pathlib import Path 2 from pathlib import Path
3 from os.path import dirname 3 from os.path import dirname
4 4
5 ini_path = Path(dirname(__file__)) / 'tests' / 'library-standards.ini' 5 ini_path = Path(dirname(__file__)) / 'library-standards.ini'
6 library_standards = ConfigParser() 6 library_standards = ConfigParser()
7 7
8 with ini_path.open() as file: 8 with ini_path.open() as file:
9 library_standards.read_file(file) 9 library_standards.read_file(file)

mercurial