unused test case for #5
authorStefan Behnel <scoder@users.berlios.de>
Fri, 5 Sep 2008 10:08:39 +0000 (12:08 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 5 Sep 2008 10:08:39 +0000 (12:08 +0200)
tests/unimplemented/methodmangling.pyx [new file with mode: 0644]

diff --git a/tests/unimplemented/methodmangling.pyx b/tests/unimplemented/methodmangling.pyx
new file mode 100644 (file)
index 0000000..876633a
--- /dev/null
@@ -0,0 +1,19 @@
+__doc__ = u"""
+>>> class PyTest(object):
+...     def __private(self): pass
+
+>>> py = PyTest()
+>>> '_PyTest__private' in dir(py)
+True
+>>> '__private' in dir(py)
+False
+
+>>> cy = CyTest()
+>>> '_PyTest__private' in dir(cy)
+True
+>>> '__private' in dir(cy)
+False
+"""
+
+class CyTest(object):
+    def __private(self): pass