def get_selected_tests(args, tests, sources):
    """Return the selected tests."""
    for exclude_test in args.exclude:
        tests_copy = tests[:]
        for i, test in enumerate(tests_copy):
            if test.startswith(exclude_test):
                tests.pop(i)
                sources.pop(i)
    return tests, sources