]> granicus.if.org Git - python/commit
test_main(): Restore the decimal context that was in
authorTim Peters <tim.peters@gmail.com>
Fri, 31 Mar 2006 04:11:16 +0000 (04:11 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 31 Mar 2006 04:11:16 +0000 (04:11 +0000)
commit46cc702b722f6113114f3f4f86aed87ad0c24125
treede0f806bd1724315f726e06036382dc6c9a2d15f
parentef57567de0783e0565e30a61b518336014d4f88c
test_main():  Restore the decimal context that was in
effect at the time test_decimal was imported.  Else
running test_decimal had the bad side effect of
permanently changing the decimal context in effect.
That caused text_tokenize to fail if it ran after
test_decimal.
Lib/test/test_decimal.py