We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12fd59d commit 9d86bf2Copy full SHA for 9d86bf2
distutils/tests/test_install.py
@@ -56,9 +56,7 @@ def check_path(got, expected):
56
expected = os.path.normpath(expected)
57
self.assertEqual(got, expected)
58
59
- impl_name = sys.implementation.name
60
- if impl_name == "cpython":
61
- impl_name = "python"
+ impl_name = sys.implementation.name.replace("cpython", "python")
62
libdir = os.path.join(destination, "lib", impl_name)
63
check_path(cmd.install_lib, libdir)
64
_platlibdir = getattr(sys, "platlibdir", "lib")
0 commit comments