From eebffb2b5b46dae65eeef8290146112348415221 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 29 Oct 2019 22:01:47 +1100 Subject: tests/basics: Automatically skip tests that use str/bytes modulo-format. --- tests/basics/string_format_modulo.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/basics/string_format_modulo.py') diff --git a/tests/basics/string_format_modulo.py b/tests/basics/string_format_modulo.py index 77bbcfbe3..021b5f08d 100644 --- a/tests/basics/string_format_modulo.py +++ b/tests/basics/string_format_modulo.py @@ -1,3 +1,9 @@ +try: + '' % () +except TypeError: + print("SKIP") + raise SystemExit + print("%%" % ()) print("=%s=" % 1) print("=%s=%s=" % (1, 2)) -- cgit v1.2.3