summaryrefslogtreecommitdiffstats
path: root/tests/platform.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-10-30 03:23:59 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-10-30 03:23:59 (GMT)
commit30c40c4540165e68c6599905c2d97f826af3076c (patch)
treec00f83d90ee49862ae663b34d2e6a12b797098cf /tests/platform.test
parentc8342af33835a5c29a3bdb30c81f710cdb3df325 (diff)
parentc5865fcd241e9a0eec80a61152b696d9d066944b (diff)
downloadtcl-30c40c4540165e68c6599905c2d97f826af3076c.zip
tcl-30c40c4540165e68c6599905c2d97f826af3076c.tar.gz
tcl-30c40c4540165e68c6599905c2d97f826af3076c.tar.bz2
merge 8.6
Diffstat (limited to 'tests/platform.test')
-rw-r--r--tests/platform.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/platform.test b/tests/platform.test
index 5838a41..8a68351 100644
--- a/tests/platform.test
+++ b/tests/platform.test
@@ -16,7 +16,9 @@ namespace eval ::tcl::test::platform {
namespace import ::tcltest::test
namespace import ::tcltest::cleanupTests
- variable ::tcl_platform
+ # This is not how [variable] works. See TIP 276.
+ #variable ::tcl_platform
+ namespace upvar :: tcl_platform tcl_platform
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]