diff --git a/mypyc/test/test_run.py b/mypyc/test/test_run.py index a5e356ea56a6..2a2aa8fae0e4 100644 --- a/mypyc/test/test_run.py +++ b/mypyc/test/test_run.py @@ -263,7 +263,7 @@ def run_case_step(self, testcase: DataDrivenTestCase, incremental_step: int) -> # Assert that an output file got created suffix = 'pyd' if sys.platform == 'win32' else 'so' - assert glob.glob('native.*.{}'.format(suffix)) + assert glob.glob('native.*.{}'.format(suffix)) or glob.glob('native.{}'.format(suffix)) driver_path = 'driver.py' if not os.path.isfile(driver_path):