From f0c0816cdee1c821f080a10fab886edc33f7a69b Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Thu, 27 Jan 2022 16:10:10 +1300 Subject: [PATCH] Update out-of-date docs re _runme3.py --- Examples/test-suite/python/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/test-suite/python/README b/Examples/test-suite/python/README index 71db759b5..84992ed05 100644 --- a/Examples/test-suite/python/README +++ b/Examples/test-suite/python/README @@ -1,8 +1,8 @@ See ../README for common README file. -Any testcases which have _runme.py (or _runme3.py for Python 3) appended after the testcase name will be detected and run. +Any testcases which have _runme.py appended after the testcase name will be detected and run. -If you intend to write a testcase for both Python 2.x and 3.x, do *not* directly put the _runme3.py in this directory. Just write Python 2.x's _runme.py testcase and it will be automatically converted to Python 3 code during test. +The _runme.py files needs to work for both Python 2.x and 3.x. You can run make with PY3=y to run test case with Python 3.x, eg. $ make voidtest.cpptest PY3=y