8000 gh-128398: improve error message when incorrectly `with` and `async with` by picnixz · Pull Request #132218 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-128398: improve error message when incorrectly with and async with #132218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 19, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
restore file
  • Loading branch information
picnixz committed Apr 13, 2025
commit 6fce800c41f4c18aeb0e2e8f778424e46571dc8b
3 changes: 0 additions & 3 deletions Lib/test/test_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import math
import opcode
import os
import re
import unittest
import sys
import ast
Expand All @@ -25,7 +24,6 @@
from test.support.bytecode_helper import instructions_with_positions
from test.support.os_helper import FakePath


class TestSpecifics(unittest.TestCase):

def compile_single(self, source):
Expand Down Expand Up @@ -1666,7 +1664,6 @@ def test_compile_warnings(self):

self.assertEqual(len(caught), 2)


class TestBooleanExpression(unittest.TestCase):
class Value:
def __init__(self):
Expand Down
Loading
0