Skip to content

Commit

Permalink
testutils.tcl [testutils]: another optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
1minus1is0 committed Feb 12, 2025
1 parent c164b44 commit 0d090db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testutils.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ namespace eval tk {
return -code error "domain \"$domain\" was not imported"
}
uplevel 1 [list namespace forget ::tk::test::${domain}::*]
uplevel 1 unset -nocomplain {*}$importedVars($domain)
uplevel 1 [list unset -nocomplain {*}$importedVars($domain)]
unset importedVars($domain)
}
}
Expand Down

0 comments on commit 0d090db

Please sign in to comment.