mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
PEP 3149 is accepted.
http://mail.python.org/pipermail/python-dev/2010-September/103408.html
This commit is contained in:
parent
e4ea994f20
commit
35f3a2cbeb
6 changed files with 430 additions and 333 deletions
|
@ -323,8 +323,8 @@ class BuildExtTestCase(TempdirManager,
|
|||
finally:
|
||||
os.chdir(old_wd)
|
||||
self.assertTrue(os.path.exists(so_file))
|
||||
self.assertEquals(os.path.splitext(so_file)[-1],
|
||||
sysconfig.get_config_var('SO'))
|
||||
so_ext = sysconfig.get_config_var('SO')
|
||||
self.assertTrue(so_file.endswith(so_ext))
|
||||
so_dir = os.path.dirname(so_file)
|
||||
self.assertEquals(so_dir, other_tmp_dir)
|
||||
|
||||
|
@ -333,8 +333,7 @@ class BuildExtTestCase(TempdirManager,
|
|||
cmd.run()
|
||||
so_file = cmd.get_outputs()[0]
|
||||
self.assertTrue(os.path.exists(so_file))
|
||||
self.assertEquals(os.path.splitext(so_file)[-1],
|
||||
sysconfig.get_config_var('SO'))
|
||||
self.assertTrue(so_file.endswith(so_ext))
|
||||
so_dir = os.path.dirname(so_file)
|
||||
self.assertEquals(so_dir, cmd.build_lib)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue