From 2d2a526d32f26572b36d183481c994fea88a4fd3 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Sat, 10 Sep 2022 12:20:44 +0000 Subject: Add two "deprecated" constraints: those testcases test deprecated behavior which will change in 9.0 --- tests/io.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/io.test b/tests/io.test index fd0c3ca..5c45918 100644 --- a/tests/io.test +++ b/tests/io.test @@ -8954,7 +8954,7 @@ test io-74.1 {[104f2885bb] improper cache validity check} -setup { # Note: the following tests 75.1 to 75.3 are in preparation for TCL 9.0, where # those should result in an error result -test io-75.1 {multibyte encoding error read results in raw bytes} -setup { +test io-75.1 {multibyte encoding error read results in raw bytes} -constraints deprecated -setup { set fn [makeFile {} io-75.1] set f [open $fn w+] fconfigure $f -encoding binary @@ -8972,7 +8972,7 @@ test io-75.1 {multibyte encoding error read results in raw bytes} -setup { } -returnCodes ok -result "A\xC0\x40" # for TCL 9.0, the result is error -test io-75.2 {unrepresentable character write passes and is replaced by ?} -setup { +test io-75.2 {unrepresentable character write passes and is replaced by ?} -constraints deprecated -setup { set fn [makeFile {} io-75.2] set f [open $fn w+] fconfigure $f -encoding iso8859-1 -- cgit v0.12