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) |