GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] Committing bsddb 4.6.4, and where can I put testsuite temp files?

[Python-Dev] Committing bsddb 4.6.4, and where can I put testsuite temp files?

Brett Cannon brett at python.org
Tue May 13 22:56:12 CEST 2008

  • Previous message: [Python-Dev] Committing bsddb 4.6.4, and where can I put testsuite temp files?
  • Next message: [Python-Dev] Committing bsddb 4.6.4, and where can I put testsuite temp files?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

On Tue, May 13, 2008 at 12:41 PM, Jesus Cea <jcea at jcea.es> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>
>  Brett Cannon wrote:
>  | It is up to the tests to clean up after themselves since they can be
>  | executed directly, so there is not magical location that gets cleaned
>  | up in case a test screws up. You can use test.test_support.TESTFN if
>  | you want a location. Or something from tempfile.
>
>  I'm worried about the case when a test crashes and leave garbage
>  behind... that will crash future test runs.
>

Then don't crash on tests. =)

>  I guess I would delete the directory before using it, but I guess
>  somebody already had this problem and solved it, somehow. :-?

That's usually the other way to go about it. In your test_main() or
your setUp() methods you make sure everything is clean before you
start.

-Brett

  • Previous message: [Python-Dev] Committing bsddb 4.6.4, and where can I put testsuite temp files?
  • Next message: [Python-Dev] Committing bsddb 4.6.4, and where can I put testsuite temp files?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the Python-Dev mailing list
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.