Source

rope_py3k / ropetest / builtinstest.py

Diff from to

ropetest/builtinstest.py

         self.assertEquals(builtins.builtins['int'].get_object(),
                           pymod['l'].get_object().get_type())
 
+    def test_binary_or_left_value_unknown(self):
+        code = 'var = (asdsd or 3)\n'
+        pymod = self.pycore.get_string_module(code)
+        self.assertEquals(builtins.builtins['int'].get_object(),
+                          pymod['var'].get_object().get_type())
+
     def test_unknown_return_object(self):
         src = 'import sys\n' \
               'def foo():\n' \