Commit 59a5478
committed
Pass string to create_corpus_for_testing
We use the TF test abstractions for the actual corpus tests, which is
where I mostly copied the create_corpus_for_testing calls. Everything
still works, but pytype in some environments will complain since absl
test's create_tempdir() actually returns an internal _Tempdir object
which is not equivalent to a string. Simply access the full_path
property to get a string and make the type checker happy.1 parent a59ca65 commit 59a5478
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments