mirror of
https://github.com/boostorg/python.git
synced 2026-02-02 21:12:15 +00:00
New file for v2 of the indexing suite
[SVN r20294]
This commit is contained in:
35
test/test_python_list.py
Normal file
35
test/test_python_list.py
Normal file
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/python
|
||||
# -*- mode:python -*-
|
||||
#
|
||||
# Python module test_python_list.py
|
||||
#
|
||||
# Copyright (c) 2003 Raoul M. Gough
|
||||
#
|
||||
# Use, modification and distribution is subject to the Boost Software
|
||||
# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
||||
# at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#
|
||||
# History
|
||||
# =======
|
||||
# 2003/10/ 1 rmg File creation
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
'''>>> v = []
|
||||
'''
|
||||
|
||||
def run(args = None):
|
||||
import sys
|
||||
import doctest
|
||||
|
||||
if args is not None:
|
||||
sys.argv = args
|
||||
return doctest.testmod(sys.modules.get(__name__))
|
||||
|
||||
if __name__ == '__main__':
|
||||
from test_vector_common import common_doctest_string
|
||||
__doc__ += common_doctest_string
|
||||
print 'running...'
|
||||
import sys
|
||||
sys.exit(run()[0])
|
||||
Reference in New Issue
Block a user