Skip to content

Commit 9e43ae8

Browse files
Adjust tests that only ran on 3.9
1 parent 30200e7 commit 9e43ae8

15 files changed

+18
-27
lines changed

tests/functional/a/alternative/alternative_union_syntax_error.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
lst = [typing.Dict[str, int] | None,] # [unsupported-binary-operation]
2424

2525
var1: typing.Dict[str, int | None] # [unsupported-binary-operation]
26-
var2: int | str | None # [unsupported-binary-operation, unsupported-binary-operation]
26+
# var2: int | str | None # false-negative: unsupported-binary-operation, unsupported-binary-operation
2727
var3: int | typing.List[str | int] # [unsupported-binary-operation]
2828
var4: typing.Dict[typing.Tuple[int, int] | int, None] # [unsupported-binary-operation]
2929

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
[main]
22
py-version=3.8
3-
4-
[testoptions]
5-
max_pyver=3.10

tests/functional/d/deprecated/deprecated_class_py33.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@
44
from collections import Iterable # [deprecated-class]
55

66
import collections.Set # [deprecated-class]
7-
8-
import collections
9-
10-
11-
_ = collections.Awaitable() # [deprecated-class]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
[testoptions]
2-
max_pyver=3.10
1+
[main]
2+
py-version=3.3
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
deprecated-class:4:0:4:32::Using deprecated class Iterable of module collections:UNDEFINED
22
deprecated-class:6:0:6:22::Using deprecated class Set of module collections:UNDEFINED
3-
deprecated-class:11:4:11:27::Using deprecated class Awaitable of module collections:UNDEFINED
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
[testoptions]
2-
max_pyver=3.10
1+
[main]
2+
py-version=3.9
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
[testoptions]
2-
max_pyver=3.10
1+
[main]
2+
py-version=3.9
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
[main]
22
py-version=3.8
3-
4-
[testoptions]
5-
max_pyver=3.10
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
[main]
2+
py-version=3.9
3+
14
[testoptions]
2-
max_pyver=3.10
5+
max_pyver=3.11

tests/functional/r/regression/regression_4439.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
class User:
1515
name: str = attrib()
1616
age: int = attrib()
17-
occupation = Optional[str] = attrib(default=None) # [unsupported-assignment-operation]
17+
occupation = Optional[str] = attrib(default=None)

0 commit comments

Comments
 (0)