Skip to content

Commit b318730

Browse files
committed
debug
1 parent 92bbcbb commit b318730

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

src/pygccxml/parser/project_reader.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,11 @@ def read_xml(self, file_configuration):
419419
@staticmethod
420420
def _join_top_namespaces(main_ns_list, other_ns_list):
421421
answer = main_ns_list[:]
422+
for n in main_ns_list:
423+
print("_join_top_namespaces", n, n.name)
424+
print("--------------")
422425
for other_ns in other_ns_list:
426+
print("_join_top_namespaces", other_ns, other_ns.name)
423427
main_ns = pygccxml.declarations.find_declaration(
424428
answer,
425429
decl_type=pygccxml.declarations.namespace_t,

src/pygccxml/parser/scanner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ 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())
212+
# with open(self.xml_file, "r") as f:
213+
# print(f.read())
214214

215215
@property
216216
def xml_generator_from_xml_file(self):

tests/test_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ def global_ns(request):
222222
@pytest.mark.parametrize(
223223
"global_ns",
224224
[
225-
"global_ns_fixture_all_at_once1",
225+
# "global_ns_fixture_all_at_once1",
226226
# "global_ns_fixture_all_at_once2",
227-
# "global_ns_fixture_file_by_file1",
227+
"global_ns_fixture_file_by_file1",
228228
# "global_ns_fixture_file_by_file2",
229229
],
230230
indirect=True,

0 commit comments

Comments
 (0)