[issue5613] test_posix.py and test_wait4.py having missing import on win32

2009-03-30 Thread Tim Driscoll

New submission from Tim Driscoll :

These are supposed to raise a unittest.SkipTest on win32 but the
unittest import is missing.  The patch just adds the missing import


See patch here:
http://codereview.appspot.com/32074/show

--
components: Tests
messages: 84607
nosy: brett.cannon, tdriscol
severity: normal
status: open
title: test_posix.py and test_wait4.py having missing import on win32
type: behavior
versions: Python 3.1

___
Python tracker 
<http://bugs.python.org/issue5613>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5633] timeit breaks when the statment is a string and the setup is not

2009-03-31 Thread Tim Driscoll

New submission from Tim Driscoll :

The patch and test is here:
http://codereview.appspot.com/28161/show

There were no tests so i added a few of them.  The one that breaks
without the patch to timeit is:
test_setup_is_called_when_the_statment_is_string_and_the_setup_is_not()
(sorry for the long name)

Even if the patch is no good perhaps the test could be useful.

--
components: Library (Lib)
messages: 84902
nosy: tdriscol
severity: normal
status: open
title: timeit breaks when the statment is a string and the setup is not
type: behavior
versions: Python 3.1

___
Python tracker 
<http://bugs.python.org/issue5633>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5633] fix for timeit when the statment is a string and the setup is not (and tests)

2009-03-31 Thread Tim Driscoll

Changes by Tim Driscoll :


--
title: timeit breaks when the statment is a string and the setup is not -> fix 
for timeit  when the statment is a string and the setup is not (and tests)

___
Python tracker 
<http://bugs.python.org/issue5633>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com