HomeSort by relevance Sort by last modified time
    Searched refs:_checkeval (Results 1 - 9 of 9) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/
py2_test_grammar.py 945 def _checkeval(msg, ret): function in function:GrammarTests.testIfElseExpr
953 self.assertEqual((5 if 1 else _checkeval("check 1", 0)), 5)
954 self.assertEqual((_checkeval("check 2", 0) if 0 else 5), 5)
958 self.assertEqual((0 or _checkeval("check 3", 2) if 0 else 3), 3)
959 self.assertEqual((1 or _checkeval("check 4", 2) if 1 else _checkeval("check 5", 3)), 1)
960 self.assertEqual((0 or 5 if 1 else _checkeval("check 6", 3)), 5)
py3_test_grammar.py 893 def _checkeval(msg, ret): function in function:GrammarTests.testIfElseExpr
902 self.assertEqual((5 if 1 else _checkeval("check 1", 0)), 5)
903 self.assertEqual((_checkeval("check 2", 0) if 0 else 5), 5)
907 self.assertEqual((0 or _checkeval("check 3", 2) if 0 else 3), 3)
908 self.assertEqual((1 or _checkeval("check 4", 2) if 1 else _checkeval("check 5", 3)), 1)
909 self.assertEqual((0 or 5 if 1 else _checkeval("check 6", 3)), 5)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_grammar.py 956 def _checkeval(msg, ret): function in function:GrammarTests.testIfElseExpr
964 self.assertEqual((5 if 1 else _checkeval("check 1", 0)), 5)
965 self.assertEqual((_checkeval("check 2", 0) if 0 else 5), 5)
969 self.assertEqual((0 or _checkeval("check 3", 2) if 0 else 3), 3)
970 self.assertEqual((1 or _checkeval("check 4", 2) if 1 else _checkeval("check 5", 3)), 1)
971 self.assertEqual((0 or 5 if 1 else _checkeval("check 6", 3)), 5)
    [all...]
  /external/python/cpython2/Lib/lib2to3/tests/data/
py2_test_grammar.py 945 def _checkeval(msg, ret): function in function:GrammarTests.testIfElseExpr
953 self.assertEqual((5 if 1 else _checkeval("check 1", 0)), 5)
954 self.assertEqual((_checkeval("check 2", 0) if 0 else 5), 5)
958 self.assertEqual((0 or _checkeval("check 3", 2) if 0 else 3), 3)
959 self.assertEqual((1 or _checkeval("check 4", 2) if 1 else _checkeval("check 5", 3)), 1)
960 self.assertEqual((0 or 5 if 1 else _checkeval("check 6", 3)), 5)
py3_test_grammar.py 893 def _checkeval(msg, ret): function in function:GrammarTests.testIfElseExpr
902 self.assertEqual((5 if 1 else _checkeval("check 1", 0)), 5)
903 self.assertEqual((_checkeval("check 2", 0) if 0 else 5), 5)
907 self.assertEqual((0 or _checkeval("check 3", 2) if 0 else 3), 3)
908 self.assertEqual((1 or _checkeval("check 4", 2) if 1 else _checkeval("check 5", 3)), 1)
909 self.assertEqual((0 or 5 if 1 else _checkeval("check 6", 3)), 5)
  /external/python/cpython3/Lib/lib2to3/tests/data/
py2_test_grammar.py 945 def _checkeval(msg, ret): function in function:GrammarTests.testIfElseExpr
953 self.assertEqual((5 if 1 else _checkeval("check 1", 0)), 5)
954 self.assertEqual((_checkeval("check 2", 0) if 0 else 5), 5)
958 self.assertEqual((0 or _checkeval("check 3", 2) if 0 else 3), 3)
959 self.assertEqual((1 or _checkeval("check 4", 2) if 1 else _checkeval("check 5", 3)), 1)
960 self.assertEqual((0 or 5 if 1 else _checkeval("check 6", 3)), 5)
py3_test_grammar.py 917 def _checkeval(msg, ret): function in function:GrammarTests.testIfElseExpr
926 self.assertEqual((5 if 1 else _checkeval("check 1", 0)), 5)
927 self.assertEqual((_checkeval("check 2", 0) if 0 else 5), 5)
931 self.assertEqual((0 or _checkeval("check 3", 2) if 0 else 3), 3)
932 self.assertEqual((1 or _checkeval("check 4", 2) if 1 else _checkeval("check 5", 3)), 1)
933 self.assertEqual((0 or 5 if 1 else _checkeval("check 6", 3)), 5)
  /external/python/cpython2/Lib/test/
test_grammar.py 1168 def _checkeval(msg, ret): function in function:GrammarTests.test_if_else_expr
    [all...]
  /external/python/cpython3/Lib/test/
test_grammar.py 1405 def _checkeval(msg, ret): function in function:GrammarTests.test_if_else_expr
    [all...]

Completed in 262 milliseconds