File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -352,8 +352,10 @@ def test_srcdir(self):
352352 self .assertTrue (os .path .exists (Python_h ), Python_h )
353353 self .assertTrue (sysconfig ._is_python_source_dir (srcdir ))
354354 elif os .name == 'posix' :
355- self .assertEqual (os .path .dirname (sysconfig .get_makefile_filename ()),
356- srcdir )
355+ makefile_dir = os .path .dirname (sysconfig .get_makefile_filename ())
356+ # Issue #19340: srcdir has been realpath'ed already
357+ makefile_dir = os .path .realpath (makefile_dir )
358+ self .assertEqual (makefile_dir , srcdir )
357359
358360 def test_srcdir_independent_of_cwd (self ):
359361 # srcdir should be independent of the current working directory
Original file line number Diff line number Diff line change @@ -630,6 +630,7 @@ Sijin Joseph
630630Andreas Jung
631631Tattoo Mabonzo K.
632632Sarah K.
633+ Sunny K
633634Bohuslav Kabrda
634635Alexey Kachayev
635636Bob Kahn
You can’t perform that action at this time.
0 commit comments