summaryrefslogtreecommitdiff
path: root/runtests.py
diff options
context:
space:
mode:
authorYu Feng <feyu@google.com>2021-05-18 01:02:25 -0700
committerGitHub <noreply@github.com>2021-05-18 10:02:25 +0200
commit505e90f9131ab2e0fc6a009c07e75c06885ac495 (patch)
tree71ff62674b12d1bfc7d5fb4ab1abfc11cbf3b896 /runtests.py
parent9b98c4b872b813bd9118c5abec905b9097dbbf6c (diff)
downloadcython-505e90f9131ab2e0fc6a009c07e75c06885ac495.tar.gz
Use std::move in c++ during yield context switch. (GH-4154)
When compiling pyarrow with cython 3.0 we get an error about the copy constructor of an object has been deleted on the generated context switch code. Also make the "cpp_temp_assignment" test only run in C++11 since it is based on `std::move()`.
Diffstat (limited to 'runtests.py')
-rwxr-xr-xruntests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests.py b/runtests.py
index 3887b2832..1b3944fac 100755
--- a/runtests.py
+++ b/runtests.py
@@ -2089,7 +2089,7 @@ def main():
args.append(arg)
from optparse import OptionParser
- parser = OptionParser()
+ parser = OptionParser(usage="usage: %prog [options] [selector ...]")
parser.add_option("--no-cleanup", dest="cleanup_workdir",
action="store_false", default=True,
help="do not delete the generated C files (allows passing --no-cython on next run)")