Enforce Python 3 for unittests

This commit updates all tests to enforce the Python3 executable. This is
necessary because the `assertRegex` function we use was renamed to this
name only in Python 3.2 [1]

For reference:
s;/usr/bin/env python;/usr/bin/env python3;g

[1]: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRegex
This commit is contained in:
Max Rossmannek 2020-11-26 23:33:32 +01:00 committed by Tomas Babej
parent 2c4d4ad649
commit f35989be0e
127 changed files with 129 additions and 129 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
###############################################################################
#