netflow/tests
Dominik Pataky 5cdb514ffc Ensure compatibility with Python 3.5.3
This commit replaces multiple occurences of new features which were not
yet implemented with Python 3.5.3, which is the reference backwards
compatibility version for this package. The version is based on the
current Python version in Debian Stretch (oldstable). According to
pkgs.org, all other distros use 3.6+, so 3.5.3 is the lower boundary.

Changes:
  * Add maxsize argument to functools.lru_cache decorator
  * Replace f"" with .format()
  * Replace variable type hints "var: type = val" with "# type:" comments
  * Replace pstats.SortKey enum with strings in performance tests

Additionally, various styling fixes were applied.
The version compatibility was tested with tox, pyenv and Python 3.5.3,
but there is no tox.ini yet which automates this test.

Bump patch version number to 0.10.3
Update author's email address.

Resolves #27
2020-04-24 16:52:25 +02:00
..
__init__.py Tests: move packets into each version test file; add tests for IPFIX 2020-04-01 14:15:53 +02:00
lib.py Ensure compatibility with Python 3.5.3 2020-04-24 16:52:25 +02:00
test_analyzer.py Ensure compatibility with Python 3.5.3 2020-04-24 16:52:25 +02:00
test_ipfix.py Ensure compatibility with Python 3.5.3 2020-04-24 16:52:25 +02:00
test_netflow.py Ensure compatibility with Python 3.5.3 2020-04-24 16:52:25 +02:00
test_performance.py Ensure compatibility with Python 3.5.3 2020-04-24 16:52:25 +02:00