Skip to content

Commit a594944

Browse files
author
Guido van Rossum
committed
Add band-aid type-ignore to make tests pass. See #1846.
1 parent e88b9df commit a594944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/stdlib-samples/3.2/test/test_random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_seedargs(self) -> None:
4646
for arg in [list(range(3)), {'one': 1}]:
4747
self.assertRaises(TypeError, self.gen.seed, arg)
4848
self.assertRaises(TypeError, self.gen.seed, 1, 2, 3, 4)
49-
self.assertRaises(TypeError, type(self.gen), [])
49+
self.assertRaises(TypeError, type(self.gen), []) # type: ignore # mypy issue 1846
5050

5151
def test_choice(self) -> None:
5252
choice = self.gen.choice

0 commit comments

Comments
 (0)