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/2011-April/110758.html below:

[Python-Dev] Adding test case methods to TestCase subclasses

[Python-Dev] Adding test case methods to TestCase subclasses [Python-Dev] Adding test case methods to TestCase subclassesEthan Furman ethan at stoneleaf.us
Sat Apr 16 05:44:53 CEST 2011
Ben Finney wrote:
> Both interesting, thank you. But Python 3 isn't an option for several
> projects where I'd like to use this.

Okay, I took some time to try and figure this out (have I mentioned how 
much I love Python 3's clean-up?), and I have something -- lightly 
tested with methods, properties, and attributes, with the objects being 
kept in classes instead of modules.

Posted to ActiveState.
http://code.activestate.com/recipes/577658-composition-of-classes-instead-of-multiple-inherit

Hope this helps!

~Ethan~
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