Closed hl037 closed 4 years ago
Add Python 3.9's merge operators | and |= support (#127 ) with passing tests.
|
|=
The implementation simply uses the snippet provided in the PEP https://www.python.org/dev/peps/pep-0584/#reference-implementation
Also fixes the deprecated assertEquals of the unit tests
Coverage remained the same at 100.0% when pulling 75164595c6dfb516c6328a61b9621fe6c63d264f on hl037:master into 66d88115001d32083e33f56c1b29d736a6d18560 on mewwts:master.
Add Python 3.9's merge operators
|
and|=
support (#127 ) with passing tests.The implementation simply uses the snippet provided in the PEP https://www.python.org/dev/peps/pep-0584/#reference-implementation
Also fixes the deprecated assertEquals of the unit tests