A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-December/050491.html below:

[Python-Dev] Re:[Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80

[Python-Dev] Re:[Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80Tim Delaney tcdelaney at optusnet.com.au
Tue Dec 21 00:00:09 CET 2004
Irmen de Jong wrote:

> Also, I'm not sure how a test-case should be constructed
> for this patch? Can the Python regression test download stuff
> as part of a test? Or is there some other way to make a
> testcase for this.

Hmm - perhaps start a server on the local machine at the start of the test, 
and tear it down at the end? you've then got full control of that server and 
can make it do whatever you want.

Or replace the socket objects with mock objects?

Tim Delaney 



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4