Skip to content

Commit 6478480

Browse files
committed
debug
1 parent 2761377 commit 6478480

File tree

4 files changed

+580
-573
lines changed

4 files changed

+580
-573
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,4 @@ jobs:
240240
- name: Run tests
241241
run: |
242242
export PATH=~/castxml/bin:$PATH
243-
pytest tests
243+
pytest tests/test_core.py

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,7 @@ docs = [
6666
examples = [
6767
"notebook",
6868
]
69+
[tool.pytest.ini_options]
70+
pythonpath = [
71+
'src'
72+
]

src/pygccxml/parser/scanner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ def __init__(self, xml_file, decl_factory, config, *args):
209209

210210
self.__xml_generator_from_xml_file = None
211211

212+
with open(self.xml_file, "r") as f:
213+
print(f.read())
214+
212215
@property
213216
def xml_generator_from_xml_file(self):
214217
"""

0 commit comments

Comments
 (0)