Skip to content

Commit

Permalink
printf debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Nov 21, 2023
1 parent e36dd4f commit 4e8ec42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/python/unittest/API/APITest.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ def attributeRoundTrip(self, file_ending):
self.assertEqual(series.get_attribute("char"), "c")
self.assertEqual(series.get_attribute("pystring"), "howdy!")
self.assertEqual(series.get_attribute("pystring2"), "howdy, too!")
print("DEBUG: pystring3='{}' of type '{}'".format(
series.get_attribute("pystring3"),
type(series.get_attribute("pystring3"))))
self.assertEqual(bytes(series.get_attribute("pystring3")),
b"howdy, again!")
self.assertEqual(series.get_attribute("pyint"), 13)
Expand Down

0 comments on commit 4e8ec42

Please sign in to comment.