Commit Graph

6 Commits

Author SHA1 Message Date
William S Fulton 00b59d73b5 Fix testcase error message text which changed in python-3.11 2025-06-27 08:03:39 +01:00
William S Fulton 31dba786a2 Raise Python AttributeError instead of TypeError for member variable errors
The previous commit which fixes the handling of 'del' on a wrappred member variable now
raises an AttributeError now consistently for builtin werappers and non-builtin wrappers.

Also change some other unexpected/internal error handling for wrapped members
to AttributeError instead of TypeError for complete consistency.
2025-06-26 19:35:16 +01:00
William S Fulton d4ffa46f41 Convert python tests using 2to3
These tests were converted using 2to3 and should be valid using
Python 2.7 and Python 3+.
2020-08-15 00:16:04 +01:00
Jon Schlueter b77f3afafb autopep8 cleanup of Examples/test-suite/python
automated cleanup of python pep8 whitespace compliance
2015-05-08 21:35:52 -04:00
William S Fulton 1a64e74c46 Add python runtime test for dynamically added attributes
From #320
2015-04-11 12:35:58 +01:00
Dave Beazley 12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00