summaryrefslogtreecommitdiffstats
path: root/tests/cmdMZ.test
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-04-09 19:37:55 (GMT)
committersebres <sebres@users.sourceforge.net>2019-04-09 19:37:55 (GMT)
commit6fb4854406b2c9cf6a6496ffaa026fcf0e3e065a (patch)
treec068a521a6af4a6ef4cc6b92d1d65193a1ba4fd0 /tests/cmdMZ.test
parentf2c8c6c408d10fd1049ebab13794e83731d7bd90 (diff)
downloadtcl-6fb4854406b2c9cf6a6496ffaa026fcf0e3e065a.zip
tcl-6fb4854406b2c9cf6a6496ffaa026fcf0e3e065a.tar.gz
tcl-6fb4854406b2c9cf6a6496ffaa026fcf0e3e065a.tar.bz2
closes [940ce8f958] - tests/cmdMZ.test: avoid import timerate to global NS in tests (e. g. using tcltest -singleproc 1 -file 'cmdMZ* namespace*')
Diffstat (limited to 'tests/cmdMZ.test')
-rw-r--r--tests/cmdMZ.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cmdMZ.test b/tests/cmdMZ.test
index 2ac74cd..4c4f532 100644
--- a/tests/cmdMZ.test
+++ b/tests/cmdMZ.test
@@ -24,6 +24,10 @@ namespace eval ::tcl::test::cmdMZ {
namespace import ::tcltest::temporaryDirectory
namespace import ::tcltest::test
+ if {[namespace which -command ::tcl::unsupported::timerate] ne ""} {
+ namespace import ::tcl::unsupported::timerate
+ }
+
# Tcl_PwdObjCmd
test cmdMZ-1.1 {Tcl_PwdObjCmd} {