diff options
Diffstat (limited to 'tests/chanio.test')
-rw-r--r-- | tests/chanio.test | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/chanio.test b/tests/chanio.test index 820fd8a..daacdd0 100644 --- a/tests/chanio.test +++ b/tests/chanio.test @@ -14,11 +14,16 @@ # this file, and for a DISCLAIMER OF ALL WARRANTIES. if {"::tcltest" ni [namespace children]} { - package require tcltest 2 + package require tcltest 2.5 + namespace import -force ::tcltest::* } namespace eval ::tcl::test::io { - namespace import ::tcltest::* + + if {"::tcltest" ni [namespace children]} { + package require tcltest 2.5 + namespace import -force ::tcltest::* + } variable umaskValue variable path |