diff --git a/src/python/pants/engine/internals/mapper_test.py b/src/python/pants/engine/internals/mapper_test.py index 8a714b01ee3b..f25a0341cc5f 100644 --- a/src/python/pants/engine/internals/mapper_test.py +++ b/src/python/pants/engine/internals/mapper_test.py @@ -204,11 +204,6 @@ def test_no_address_no_family(self) -> None: build_file = os.path.join(self.build_root, "a/c", "c.BUILD.json") with safe_open(build_file, "w") as fp: fp.write('{"type_alias": "struct", "name": "c"}') - - # Exists on disk, but not yet in memory. - with self.assertRaises(Exception): - self.resolve(spec) - self.scheduler.invalidate_files(["a/c"]) # Success.