diff options
Diffstat (limited to 'tests/samplebinding/ignorederefop_test.py')
-rw-r--r-- | tests/samplebinding/ignorederefop_test.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/samplebinding/ignorederefop_test.py b/tests/samplebinding/ignorederefop_test.py new file mode 100644 index 000000000..94e726468 --- /dev/null +++ b/tests/samplebinding/ignorederefop_test.py @@ -0,0 +1,10 @@ +import unittest +from sample import * + +class TestLackOfDereferenceOperators (unittest.TestCase): + def testIf(self): + r = Reference() + self.assertFalse(hasattr(r, "__mul__")) + +if __name__ == '__main__': + unittest.main() |