• Home
  • Raw
  • Download

Lines Matching full:except

51 # If there is implicit control flow around a pass statement (in an except
166 except Exception:
196 except RuntimeError:
234 except IndexError:
259 except IndexError:
494 except Exception as e:
498 except Exception:
520 except Exception:
545 except StopIteration:
605 except Exception:
628 except:
643 except:
719 except:
755 except:
799 except IndexError:
926 except ZeroDivisionError:
974 except Exception:
1007 except Exception as ex:
1009 except Exception:
1088 except ZeroDivisionError:
1124 except ZeroDivisionError as error:
1199 except ValueError:
1203 except RuntimeError:
1230 except RuntimeError:
1254 except AttributeError:
1297 except TypeError:
1306 except ValueError as e:
1315 except ValueError as e:
1568 except:
1578 except:
1586 except ZeroDivisionError:
1589 except FloatingPointError:
1597 except:
1768 # Test each kind of 'except' line.
1769 @jump_test(2, 3, [4], (ValueError, 'except'))
1773 except:
1777 @jump_test(2, 3, [4], (ValueError, 'except'))
1781 except ValueError:
1785 @jump_test(2, 3, [4], (ValueError, 'except'))
1789 except ValueError as e:
1793 @jump_test(2, 3, [4], (ValueError, 'except'))
1797 except (ValueError, RuntimeError) as e:
1871 except:
1879 except:
1884 # 'except' with a variable creates an implicit finally block
1889 except ZeroDivisionError:
1892 except FloatingPointError as e:
1922 @jump_test(1, 5, [], (ValueError, "into an 'except'"))
1927 except:
1930 @jump_test(1, 5, [], (ValueError, "into an 'except'"))
1935 except Exception:
1938 @jump_test(3, 6, [2, 5, 6], (ValueError, "into an 'except'"))
1943 except: # executed if the jump is failed
1949 @jump_test(3, 6, [2], (ValueError, "into an 'except'"))
1954 except ZeroDivisionError:
1960 @jump_test(7, 1, [1, 3, 6], (ValueError, "out of an 'except'"))
1966 except:
1970 @jump_test(7, 1, [1, 3, 6], (ValueError, "out of an 'except'"))
1976 except Exception: