Skip to content

Commit 3d6396b

Browse files
committed
regenerate results
1 parent c7906f8 commit 3d6396b

11 files changed

+61
-35
lines changed

conformance/results/mypy/namedtuples_define_class.toml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,19 @@ namedtuples_define_class.py:46: error: Argument 2 to "Point" has incompatible ty
1111
namedtuples_define_class.py:47: error: Argument "units" to "Point" has incompatible type "int"; expected "str" [arg-type]
1212
namedtuples_define_class.py:48: error: Too many arguments for "Point" [call-arg]
1313
namedtuples_define_class.py:49: error: Unexpected keyword argument "other" for "Point" [call-arg]
14-
namedtuples_define_class.py:59: error: Non-default NamedTuple fields cannot follow default fields [misc]
15-
namedtuples_define_class.py:98: error: Argument 2 to "Property" has incompatible type "float"; expected "str" [arg-type]
16-
namedtuples_define_class.py:105: error: NamedTuple should be a single base [misc]
14+
namedtuples_define_class.py:59: error: Invalid statement in NamedTuple definition; expected "field_name: field_type [= default]" [misc]
15+
namedtuples_define_class.py:65: error: Missing positional argument "units" in call to "Point2" [call-arg]
16+
namedtuples_define_class.py:67: error: Too many values to unpack (2 expected, 3 provided) [misc]
17+
namedtuples_define_class.py:76: error: NamedTuple field name cannot start with an underscore: _y [misc]
18+
namedtuples_define_class.py:86: error: Non-default NamedTuple fields cannot follow default fields [misc]
19+
namedtuples_define_class.py:125: error: Argument 2 to "Property" has incompatible type "float"; expected "str" [arg-type]
20+
namedtuples_define_class.py:132: error: NamedTuple should be a single base [misc]
1721
"""
1822
conformance_automated = "Fail"
1923
errors_diff = """
20-
Line 79: Expected 1 errors
24+
Line 69: Expected 1 errors
25+
Line 106: Expected 1 errors
26+
Line 59: Unexpected errors ['namedtuples_define_class.py:59: error: Invalid statement in NamedTuple definition; expected "field_name: field_type [= default]" [misc]']
27+
Line 65: Unexpected errors ['namedtuples_define_class.py:65: error: Missing positional argument "units" in call to "Point2" [call-arg]']
28+
Line 67: Unexpected errors ['namedtuples_define_class.py:67: error: Too many values to unpack (2 expected, 3 provided) [misc]']
2129
"""

conformance/results/mypy/namedtuples_define_functional.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,15 @@ namedtuples_define_functional.py:43: error: Argument "x" to "Point6" has incompa
1111
namedtuples_define_functional.py:52: error: "namedtuple()" has duplicate field name "a" [misc]
1212
namedtuples_define_functional.py:53: error: "namedtuple()" field name "def" is a keyword [misc]
1313
namedtuples_define_functional.py:54: error: "namedtuple()" field name "def" is a keyword [misc]
14-
namedtuples_define_functional.py:66: error: Missing positional argument "a" in call to "NT5" [call-arg]
14+
namedtuples_define_functional.py:55: error: "namedtuple()" field name "_d" starts with an underscore [misc]
15+
namedtuples_define_functional.py:66: error: Name "NT5" already defined on line 57 [no-redef]
16+
namedtuples_define_functional.py:67: error: Missing positional argument "_1" in call to "NT5" [call-arg]
17+
namedtuples_define_functional.py:68: error: Too many arguments for "NT5" [call-arg]
18+
namedtuples_define_functional.py:69: error: Missing positional arguments "abc", "_1" in call to "NT5" [call-arg]
1519
"""
16-
conformance_automated = "Pass"
20+
conformance_automated = "Fail"
1721
errors_diff = """
22+
Line 66: Unexpected errors ['namedtuples_define_functional.py:66: error: Name "NT5" already defined on line 57 [no-redef]']
23+
Line 67: Unexpected errors ['namedtuples_define_functional.py:67: error: Missing positional argument "_1" in call to "NT5" [call-arg]']
24+
Line 68: Unexpected errors ['namedtuples_define_functional.py:68: error: Too many arguments for "NT5" [call-arg]']
1825
"""

conformance/results/mypy/version.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version = "mypy 1.16.1"
2-
test_duration = 2.2
2+
test_duration = 2.0

conformance/results/pyre/generics_paramspec_specialization.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ notes = """
33
Reports error for legitimate use of `...` to specialize ParamSpec
44
"""
55
output = """
6-
generics_paramspec_specialization.py:32:14 Invalid type parameters [24]: Callable parameters expected for parameter specification `P2`, but a single type `...` was given for generic type ClassB.
7-
generics_paramspec_specialization.py:36:14 Invalid type parameters [24]: Callable parameters expected for parameter specification `P1`, but a single type `...` was given for generic type ClassA.
86
generics_paramspec_specialization.py:44:14 Invalid type parameters [24]: Callable parameters expected for parameter specification `P1`, but a single type `int` was given for generic type ClassA.
97
generics_paramspec_specialization.py:53:4 Too many arguments [19]: PositionalOnly call expects 2 positional arguments, 3 were provided.
108
generics_paramspec_specialization.py:54:4 Too many arguments [19]: PositionalOnly call expects 2 positional arguments, 3 were provided.
@@ -15,8 +13,6 @@ generics_paramspec_specialization.py:61:4 Too many arguments [19]: PositionalOnl
1513
"""
1614
conformance_automated = "Fail"
1715
errors_diff = """
18-
Line 32: Unexpected errors ['generics_paramspec_specialization.py:32:14 Invalid type parameters [24]: Callable parameters expected for parameter specification `P2`, but a single type `...` was given for generic type ClassB.']
19-
Line 36: Unexpected errors ['generics_paramspec_specialization.py:36:14 Invalid type parameters [24]: Callable parameters expected for parameter specification `P1`, but a single type `...` was given for generic type ClassA.']
2016
Line 53: Unexpected errors ['generics_paramspec_specialization.py:53:4 Too many arguments [19]: PositionalOnly call expects 2 positional arguments, 3 were provided.']
2117
Line 59: Unexpected errors ['generics_paramspec_specialization.py:59:4 Too many arguments [19]: PositionalOnly call expects 2 positional arguments, 3 were provided.']
2218
"""

conformance/results/pyre/namedtuples_define_class.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ namedtuples_define_class.py:46:14 Incompatible parameter type [6]: In call `Poin
1616
namedtuples_define_class.py:47:17 Incompatible parameter type [6]: In call `Point.__init__`, for argument `units`, expected `str` but got `int`.
1717
namedtuples_define_class.py:48:5 Too many arguments [19]: Call `Point.__init__` expects 3 positional arguments, 4 were provided.
1818
namedtuples_define_class.py:49:6 Unexpected keyword [28]: Unexpected keyword argument `other` to call `Point.__init__`.
19-
namedtuples_define_class.py:59:4 Missing named tuple default [74]: Named tuple field without default value may not be preceded by a field with default value.
20-
namedtuples_define_class.py:79:4 Invalid assignment [41]: Cannot reassign final attribute `x`.
21-
namedtuples_define_class.py:98:18 Incompatible parameter type [6]: In call `Property.__init__`, for 2nd positional argument, expected `str` but got `float`.
22-
namedtuples_define_class.py:105:23 Invalid inheritance [39]: If NamedTuple is included as a base class, the class may not extend anything else besides Generic.
19+
namedtuples_define_class.py:67:0 Unable to unpack [23]: Unable to unpack 3 values, 2 were expected.
20+
namedtuples_define_class.py:86:4 Missing named tuple default [74]: Named tuple field without default value may not be preceded by a field with default value.
21+
namedtuples_define_class.py:106:4 Invalid assignment [41]: Cannot reassign final attribute `x`.
22+
namedtuples_define_class.py:125:18 Incompatible parameter type [6]: In call `Property.__init__`, for 2nd positional argument, expected `str` but got `float`.
23+
namedtuples_define_class.py:132:23 Invalid inheritance [39]: If NamedTuple is included as a base class, the class may not extend anything else besides Generic.
2324
"""
24-
conformance_automated = "Pass"
25+
conformance_automated = "Fail"
2526
errors_diff = """
27+
Line 69: Expected 1 errors
28+
Line 76: Expected 1 errors
29+
Line 67: Unexpected errors ['namedtuples_define_class.py:67:0 Unable to unpack [23]: Unable to unpack 3 values, 2 were expected.']
2630
"""

conformance/results/pyre/namedtuples_define_functional.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ namedtuples_define_functional.py:42:17 Incompatible parameter type [6]: In call
1212
namedtuples_define_functional.py:43:14 Incompatible parameter type [6]: In call `Point6.__init__`, for argument `x`, expected `int` but got `float`.
1313
namedtuples_define_functional.py:52:0 Duplicate parameter [65]: Duplicate parameter name `a`.
1414
namedtuples_define_functional.py:52:0 Duplicate parameter [65]: Duplicate parameter name `a`.
15-
namedtuples_define_functional.py:66:0 Missing argument [20]: Call `NT5.__init__` expects argument `a`.
15+
namedtuples_define_functional.py:58:0 Unexpected keyword [28]: Unexpected keyword argument `abc` to call `NT5.__init__`.
16+
namedtuples_define_functional.py:60:0 Unexpected keyword [28]: Unexpected keyword argument `_1` to call `NT6.__init__`.
17+
namedtuples_define_functional.py:69:0 Missing argument [20]: Call `NT5.__init__` expects argument `a`.
1618
"""
17-
conformance_automated = "Pass"
19+
conformance_automated = "Fail"
1820
errors_diff = """
21+
Line 58: Unexpected errors ['namedtuples_define_functional.py:58:0 Unexpected keyword [28]: Unexpected keyword argument `abc` to call `NT5.__init__`.']
22+
Line 60: Unexpected errors ['namedtuples_define_functional.py:60:0 Unexpected keyword [28]: Unexpected keyword argument `_1` to call `NT6.__init__`.']
1923
"""

conformance/results/pyre/version.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "pyre 0.9.23"
2-
test_duration = 10.7
1+
version = "pyre 0.9.25"
2+
test_duration = 7.6

conformance/results/pyright/namedtuples_define_class.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ namedtuples_define_class.py:47:24 - error: Argument of type "Literal[3]" cannot
1010
  "Literal[3]" is not assignable to "str" (reportArgumentType)
1111
namedtuples_define_class.py:48:22 - error: Expected 3 positional arguments (reportCallIssue)
1212
namedtuples_define_class.py:49:23 - error: No parameter named "other" (reportCallIssue)
13-
namedtuples_define_class.py:59:5 - error: Fields without default values cannot appear after fields with default values (reportGeneralTypeIssues)
14-
namedtuples_define_class.py:79:5 - error: Cannot override "x" because parent class "Point" is a named tuple (reportIncompatibleVariableOverride)
15-
namedtuples_define_class.py:98:19 - error: Argument of type "float" cannot be assigned to parameter "value" of type "str" in function "__new__"
13+
namedtuples_define_class.py:69:20 - error: Expected 2 positional arguments (reportCallIssue)
14+
namedtuples_define_class.py:76:5 - error: Named tuple field names cannot start with an underscore (reportGeneralTypeIssues)
15+
namedtuples_define_class.py:86:5 - error: Fields without default values cannot appear after fields with default values (reportGeneralTypeIssues)
16+
namedtuples_define_class.py:106:5 - error: Cannot override "x" because parent class "Point" is a named tuple (reportIncompatibleVariableOverride)
17+
namedtuples_define_class.py:125:19 - error: Argument of type "float" cannot be assigned to parameter "value" of type "str" in function "__new__"
1618
  "float" is not assignable to "str" (reportArgumentType)
17-
namedtuples_define_class.py:105:7 - error: Multiple inheritance with NamedTuple is not supported (reportGeneralTypeIssues)
19+
namedtuples_define_class.py:132:7 - error: Multiple inheritance with NamedTuple is not supported (reportGeneralTypeIssues)
1820
"""
1921
conformance_automated = "Pass"
2022
errors_diff = """

conformance/results/pyright/namedtuples_define_functional.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ namedtuples_define_functional.py:43:17 - error: Argument of type "float" cannot
1515
namedtuples_define_functional.py:52:31 - error: Names within a named tuple must be unique (reportGeneralTypeIssues)
1616
namedtuples_define_functional.py:53:33 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
1717
namedtuples_define_functional.py:54:33 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
18-
namedtuples_define_functional.py:66:1 - error: Argument missing for parameter "a" (reportCallIssue)
18+
namedtuples_define_functional.py:55:33 - error: Named tuple field names cannot start with an underscore (reportGeneralTypeIssues)
19+
namedtuples_define_functional.py:59:33 - error: Named tuple field names cannot start with an underscore (reportGeneralTypeIssues)
20+
namedtuples_define_functional.py:60:13 - error: No parameter named "_1" (reportCallIssue)
21+
namedtuples_define_functional.py:69:1 - error: Argument missing for parameter "a" (reportCallIssue)
1922
"""
20-
conformance_automated = "Pass"
23+
conformance_automated = "Fail"
2124
errors_diff = """
25+
Line 59: Unexpected errors ['namedtuples_define_functional.py:59:33 - error: Named tuple field names cannot start with an underscore (reportGeneralTypeIssues)']
26+
Line 60: Unexpected errors ['namedtuples_define_functional.py:60:13 - error: No parameter named "_1" (reportCallIssue)']
2227
"""
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "pyright 1.1.402"
2-
test_duration = 1.8
1+
version = "pyright 1.1.403"
2+
test_duration = 1.4

0 commit comments

Comments
 (0)