From 40cdaa15b93a3557e372e128ad74600f0f65e52a Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Fri, 7 Jun 2024 15:58:57 -0600 Subject: [PATCH] Conformance tests: Mark pytype as passing annotations_coroutines It appears to produce the correct output. Part of #1692 --- conformance/results/mypy/version.toml | 2 +- conformance/results/pyre/version.toml | 2 +- conformance/results/pytype/annotations_coroutines.toml | 5 +---- conformance/results/pytype/version.toml | 2 +- conformance/results/results.html | 8 ++++---- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/conformance/results/mypy/version.toml b/conformance/results/mypy/version.toml index dc9b55ed5..268bd31ac 100644 --- a/conformance/results/mypy/version.toml +++ b/conformance/results/mypy/version.toml @@ -1,2 +1,2 @@ version = "mypy 1.10.0" -test_duration = 1.5 +test_duration = 1.4 diff --git a/conformance/results/pyre/version.toml b/conformance/results/pyre/version.toml index 4687d8542..ad46d834b 100644 --- a/conformance/results/pyre/version.toml +++ b/conformance/results/pyre/version.toml @@ -1,2 +1,2 @@ version = "pyre 0.9.21" -test_duration = 3.6 +test_duration = 2.7 diff --git a/conformance/results/pytype/annotations_coroutines.toml b/conformance/results/pytype/annotations_coroutines.toml index a97531845..a339ad0a1 100644 --- a/conformance/results/pytype/annotations_coroutines.toml +++ b/conformance/results/pytype/annotations_coroutines.toml @@ -1,7 +1,4 @@ -conformant = "Partial" -notes = """ -Does not evaluate correct type for async function. -""" +conformant = "Pass" output = """ """ diff --git a/conformance/results/pytype/version.toml b/conformance/results/pytype/version.toml index 9c27bf79d..766be5066 100644 --- a/conformance/results/pytype/version.toml +++ b/conformance/results/pytype/version.toml @@ -1,2 +1,2 @@ version = "pytype 2024.04.11" -test_duration = 32.9 +test_duration = 28.4 diff --git a/conformance/results/results.html b/conformance/results/results.html index 56739d7a9..feb92fd58 100644 --- a/conformance/results/results.html +++ b/conformance/results/results.html @@ -159,16 +159,16 @@

Python Type System Conformance Test Results

- +
 
mypy 1.10.0
-
1.5sec
+
1.4sec
pyright 1.1.366
1.4sec
pyre 0.9.21
-
3.6sec
+
2.7sec
pytype 2024.04.11
-
32.9sec
+
28.4sec
@@ -178,7 +178,7 @@

Python Type System Conformance Test Results

Pass Pass Pass
Partial

Does not evaluate correct type for async function.

Pass
     annotations_forward_refs
Partial

Does not report error for a forward reference that is not enclosed in quotes.

Does not report error for use of quoted type with "|" operator (runtime error).

Incorrectly generates error for quoted type defined in class scope.