Skip to content

Commit b8eec25

Browse files
committed
Work around test failure on 3.9
We don't care about the semantic difference really, since we'll be dropping 3.9 support soon enough. Just make the test case pass.
1 parent cea168a commit b8eec25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/test-data/run-librt-strings.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def test_bytes_writer_wrapper_functions() -> None:
7676
assert isinstance(b, cls)
7777

7878
with assertRaises(TypeError):
79-
b.append(1.0)
79+
b.append("x")
8080

8181
with assertRaises(TypeError):
8282
b.write("foo")

0 commit comments

Comments
 (0)