Mercurial > cpython-lru_cache-weakref
view Lib/distutils/tests/test_spawn.py @ 54294:dba767bc3155 legacy-trunk
remove mention of old ctypes version
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sat, 23 May 2009 20:59:09 +0000 |
| parents | 48485604ed48 |
| children | 4283bc8c9306 5e4d070565e7 |
line wrap: on
line source
"""Tests for distutils.spawn.""" import unittest from distutils.spawn import _nt_quote_args class SpawnTestCase(unittest.TestCase): def test_nt_quote_args(self): for (args, wanted) in ((['with space', 'nospace'], ['"with space"', 'nospace']), (['nochange', 'nospace'], ['nochange', 'nospace'])): res = _nt_quote_args(args) self.assertEquals(res, wanted) def test_suite(): return unittest.makeSuite(SpawnTestCase) if __name__ == "__main__": unittest.main(defaultTest="test_suite")
