From 24af8de1062fda6b0c35651e8b0b9860e3f2ddbd Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Tue, 22 Jul 2008 20:39:42 +0000 Subject: imported Itcl 3.3 --- itcl/itcl/tests/inherit.test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'itcl/itcl/tests/inherit.test') diff --git a/itcl/itcl/tests/inherit.test b/itcl/itcl/tests/inherit.test index e20d5065e78..73a6339fe1c 100644 --- a/itcl/itcl/tests/inherit.test +++ b/itcl/itcl/tests/inherit.test @@ -13,12 +13,12 @@ # See the file "license.terms" for information on usage and # redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. -package require tcltest -namespace import -force ::tcltest::* +if {[lsearch [namespace children] ::tcltest] == -1} { + package require tcltest 2.1 + namespace import -force ::tcltest::test +} -if {[string compare test [info procs test]] == 1} then {source defs} - -package require Itcl +::tcltest::loadTestedCommands # ---------------------------------------------------------------------- # Test construction/destruction with inheritance -- cgit v1.2.1