It seems that the `test_find_not_should_ignore_path` test has some dependency on side-effects from other tests. 

For example it failed here:

https://github.com/apache/airflow/pull/10983/checks?check_run_id=1127304894#step:6:1043

```
>       self.assertEqual(detected_files, should_not_ignore_files)
E       AssertionError: Items in the second set but not the first:
E       'test_load.py'
E       'test_load_sub1.py'
```

And re-running it in a clean system works just fine in the same combination of python/db.

**What you expected to happen**:

The test should clean up /restore everything it needs before running or a test that makes side-effects is found and fixed. 

For now I am moving the test to "heisentests with appropriate note.".

airflow/utils/file.py
file_path = os.path.join(root, str(file))
            if any(re.findall(p, file_path) for p in patterns):
                continue
            yield str(file_path)
def list_py_file_paths(directory: str,
                       safe_mode: bool = conf.getboolean('core', 'DAG_DISCOVERY_SAFE_MODE', fallback=True),
                       include_examples: Optional[bool] = None,
                       include_smart_sensor: Optional[bool] =
                       conf.getboolean('smart_sensor', 'use_smart_sensor')):
    """
    Traverse a directory and look for Python files.
    :param directory: the directory to traverse
    :type directory: unicode
    :param safe_mode: whether to use a heuristic to determine whether a file
        contains Airflow DAG definitions. If not provided, use the
        core.DAG_DISCOVERY_SAFE_MODE configuration setting. If not set, default
        to safe.
    :type safe_mode: bool
    :param include_examples: include example DAGs
    :type include_examples: bool
    :param include_smart_sensor: include smart sensor native control DAGs
    :type include_examples: bool
    :return: a list of paths to Python files in the specified directory
    :rtype: list[unicode]
    """
    if include_examples is None:
        include_examples = conf.getboolean('core', 'LOAD_EXAMPLES')
    file_paths: List[str] = []
    if directory is None:
        file_paths = []