2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 16:32:16 +00:00

Fix a problem where test_builtin_converters.py is not being run (#94)

This was happening because the module docstring was not the first statement.
This commit is contained in:
Tadeu Manoel
2016-12-14 10:54:37 -02:00
committed by Stefan Seefeld
parent 36bbdde2fe
commit 7178a70176

View File

@@ -1,9 +1,6 @@
# Copyright David Abrahams 2004. Distributed under 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)
import sys
if (sys.version_info.major >= 3):
long = int
r"""
>>> from builtin_converters_ext import *
@@ -283,6 +280,10 @@ Check that classic classes also work
>>> assert return_null_handle() is None
"""
import sys
if (sys.version_info.major >= 3):
long = int
def run(args = None):
import sys
import doctest