Test Coverage Analysis for Python scripts

Simon Brunning SBrunning at trisystems.co.uk
Tue Sep 19 06:11:39 EDT 2000


> From:	Harald Kirsch [SMTP:kirschh at lionbioscience.com]
> 
> Thanks, but
> 
> Traceback (innermost last):
>   File "./trace.py", line 661, in ?
>     main()
>   File "./trace.py", line 642, in main
>     create_results_log(results, logdir, missing)
>   File "./trace.py", line 316, in create_results_log
>     if filename.startswith(tfdir):
> AttributeError: 'string' object has no attribute 'startswith'
> 
> with
> 
> lionsp093:tmp) python
> Python 1.5.2 (#1, Feb  1 2000, 16:32:16)  [GCC egcs-2.91.66 19990314/Linux
> (egcs- on linux-i386
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> 
> 
> What is missing?
> 
Harald,
'startswith' is missing. From 1.5.2, that is. It's in 2.0, I don't know
about 1.6.

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk






-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.



More information about the Python-list mailing list