@@ -0,0 +1,850 @@
+from tests.lib import create_basic_wheel_for_package%0A%0A%0Adef test_new_resolver_conflict_requirements_file(tmpdir, script):%0A    create_basic_wheel_for_package(script, %22base%22, %221.0%22)%0A    create_basic_wheel_for_package(script, %22base%22, %222.0%22)%0A    create_basic_wheel_for_package(%0A        script, %22pkga%22, %221.0%22, depends=%5B%22base==1.0%22%5D,%0A    )%0A    create_basic_wheel_for_package(%0A        script, %22pkgb%22, %221.0%22, depends=%5B%22base==2.0%22%5D,%0A    )%0A%0A    req_file = tmpdir.joinpath(%22requirements.txt%22)%0A    req_file.write_text(%22pkga%5Cnpkgb%22)%0A%0A    result = script.pip(%0A        %22install%22, %22--use-feature=2020-resolver%22,%0A        %22--no-cache-dir%22, %22--no-index%22,%0A        %22--find-links%22, script.scratch_path,%0A        %22-r%22, req_file,%0A        expect_error=True,%0A    )%0A%0A    message = %22package versions have conflicting dependencies%22%0A    assert message in result.stderr, str(result)%0A

Test for conflict message from requirements.txt