Previously SWIG looked at the indentation of the first line and removed that many characters from each subsequent line, regardless of what those characters were. This was made worse because SWIG's preprocessor removes any whitespace before a '#'. Fixes github issue #379, reported by Joe Orton.
5 lines
210 B
Python
5 lines
210 B
Python
import python_pythoncode
|
|
|
|
# No need to actually do anything, this is a regression test for a bug which
|
|
# caused an invalid python_pythoncode.py to be generated, so if we can import
|
|
# it the bug is still fixed.
|