μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
test_operator_overloading Namespace Reference

Functions

def test_operator_overloading ()
 
def test_operators_notimplemented ()
 
def test_nested ()
 
def test_overriding_eq_reset_hash ()
 
def test_return_set_of_unhashable ()
 

Function Documentation

◆ test_nested()

def test_operator_overloading.test_nested ( )
#328: first member in a class can't be used in operators

Definition at line 96 of file test_operator_overloading.py.

◆ test_operator_overloading()

def test_operator_overloading.test_operator_overloading ( )

Definition at line 9 of file test_operator_overloading.py.

References ConstructorStats.get().

◆ test_operators_notimplemented()

def test_operator_overloading.test_operators_notimplemented ( )
#393: need to return NotSupported to ensure correct arithmetic operator behavior

Definition at line 86 of file test_operator_overloading.py.

◆ test_overriding_eq_reset_hash()

def test_operator_overloading.test_overriding_eq_reset_hash ( )

Definition at line 134 of file test_operator_overloading.py.

◆ test_return_set_of_unhashable()

def test_operator_overloading.test_return_set_of_unhashable ( )

Definition at line 151 of file test_operator_overloading.py.