File: 00004_disable_failing_mypy_test.patch

package info (click to toggle)
pymongo 4.15.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,692 kB
  • sloc: python: 107,407; ansic: 4,601; javascript: 137; makefile: 30; sh: 10
file content (19 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Disable tests that fails
Author: Salvo 'LtWorf' Tomaselli <ltworf@debian.org>

--- a/test/test_typing.py
+++ b/test/test_typing.py
@@ -105,13 +105,6 @@
         stdout, stderr, exit_status = api.run([filename])
         self.assertTrue(exit_status, msg=stdout)
 
-    def test_mypy_failures(self) -> None:
-        for filename in get_tests():
-            if filename == "typeddict_client.py" and TypedDict is None:
-                continue
-            with self.subTest(filename=filename):
-                self.ensure_mypy_fails(filename)
-
 
 class TestPymongo(IntegrationTest):
     coll: Collection