Thu, 26 Aug 2021 22:04:33 +0300
removed some alias tests that aren't mandated by the official header specification
89
d2b277cb948e
split more tests into new files
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
1 | from configparser import ConfigParser |
d2b277cb948e
split more tests into new files
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
2 | from pathlib import Path |
d2b277cb948e
split more tests into new files
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
3 | from os.path import dirname |
d2b277cb948e
split more tests into new files
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
4 | |
96
70f8049623ec
move library-standards.ini to top directory
Teemu Piippo <teemu@hecknology.net>
parents:
89
diff
changeset
|
5 | ini_path = Path(dirname(__file__)) / 'library-standards.ini' |
89
d2b277cb948e
split more tests into new files
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
6 | library_standards = ConfigParser() |
d2b277cb948e
split more tests into new files
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
7 | |
d2b277cb948e
split more tests into new files
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
8 | with ini_path.open() as file: |
d2b277cb948e
split more tests into new files
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
9 | library_standards.read_file(file) |