Skip to content

Commit

Permalink
Update mypyc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JukkaL committed Sep 20, 2024
1 parent e1f206e commit e012ed0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions mypyc/test-data/run-python312.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[case testPEP695Basics]
# flags: --enable-incomplete-feature=NewGenericSyntax
from typing import Any, TypeAliasType, cast

from testutil import assertRaises
Expand Down Expand Up @@ -192,7 +191,6 @@ def test_recursive_type_alias() -> None:
[typing fixtures/typing-full.pyi]

[case testPEP695GenericTypeAlias]
# flags: --enable-incomplete-feature=NewGenericSyntax
from typing import Callable
from types import GenericAlias

Expand Down
1 change: 0 additions & 1 deletion mypyc/test/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ def run_case_step(self, testcase: DataDrivenTestCase, incremental_step: int) ->
options.preserve_asts = True
options.allow_empty_bodies = True
options.incremental = self.separate
options.enable_incomplete_feature.append("NewGenericSyntax")

# Avoid checking modules/packages named 'unchecked', to provide a way
# to test interacting with code we don't have types for.
Expand Down

0 comments on commit e012ed0

Please sign in to comment.