| 2260 | return os.read(r, 100) |
| 2261 | |
| 2262 | def check_compatible_here(self, name, filename=None, *, |
| 2263 | strict=False, |
| 2264 | isolated=False, |
| 2265 | ): |
| 2266 | # Verify that the named module may be imported in a subinterpreter. |
| 2267 | # (See run_here() for more info.) |
| 2268 | out = self.run_here(name, filename, |
| 2269 | check_singlephase_setting=strict, |
| 2270 | isolated=isolated, |
| 2271 | ) |
| 2272 | self.assertEqual(out, b'okay') |
| 2273 | |
| 2274 | def check_incompatible_here(self, name, filename=None, *, isolated=False): |
| 2275 | # Differences from check_compatible_here(): |