do more work with classes from pytypes.h (especially for STL container casting)
diff --git a/example/example4.ref b/example/example4.ref
index 9be2bdc..040d55b 100644
--- a/example/example4.ref
+++ b/example/example4.ref
@@ -10,7 +10,7 @@
None
test_function(enum=2)
None
-<class 'Example4.EMode'>
+<class 'example.EMode'>
EMode.EFirstMode
EMode.EFirstMode
Example4::test_function(enum=1)
diff --git a/example/run_test.py b/example/run_test.py
index 8977e96..802b851 100755
--- a/example/run_test.py
+++ b/example/run_test.py
@@ -22,6 +22,8 @@
line = line.replace('__builtin__', 'builtins')
line = line.replace('example.', '')
line = line.replace('unicode', 'str')
+ line = line.replace('Example4.EMode', 'EMode')
+ line = line.replace('example.EMode', 'EMode')
line = line.replace('method of builtins.PyCapsule instance', '')
line = line.strip()
if sys.platform == 'win32':