summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-10 12:20:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-10 12:20:44 (GMT)
commit2d2a526d32f26572b36d183481c994fea88a4fd3 (patch)
tree92ee28531a30fbb76790fe27ca03037dd8e1d0da
parent36d126e09d78d8b823bc2df6013b4faa36b5f968 (diff)
downloadtcl-2d2a526d32f26572b36d183481c994fea88a4fd3.zip
tcl-2d2a526d32f26572b36d183481c994fea88a4fd3.tar.gz
tcl-2d2a526d32f26572b36d183481c994fea88a4fd3.tar.bz2
Add two "deprecated" constraints: those testcases test deprecated behavior which will change in 9.0
-rw-r--r--tests/io.test4
1 files 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