You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
who-tests-what seems to have issues with old-style classes when running under Python 2.7. Not sure if this still matters to many people but it does produce issues for us.
Given the following dummy test file test_file_1.py:
class TestClass():
def test_basic(self):
print('bla')
I get failures when running under PY2 when the class does not inherit from object (making it old-style). As soon as I make it inherit from object, it works. It also works if I use Python 3.6.5.
who-tests-what seems to have issues with old-style classes when running under
Python 2.7
. Not sure if this still matters to many people but it does produce issues for us.Given the following dummy test file
test_file_1.py
:I get failures when running under
PY2
when the class does not inherit fromobject
(making itold-style
). As soon as I make it inherit fromobject
, it works. It also works if I usePython 3.6.5
.My
.coveragerc
is:Environment:
The text was updated successfully, but these errors were encountered: