On Thu, 4 Mar 2021 00:27:17 +0500 Andrey Rahmatullin <w...@debian.org> wrote:
> On Sat, Feb 13, 2021 at 06:06:54PM +0100, Lucas Nussbaum wrote: > > > cd ofxstatement-be-argenta && python3 setup.py test > > > running test > > > [...] > > > File > > > "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line > > > 1379, in __init__ self.module_path = > > > os.path.dirname(getattr(module, '__file__', '')) File > > > "/usr/lib/python3.9/posixpath.py", line 152, in dirname p = > > > os.fspath(p) TypeError: expected str, bytes or os.PathLike > > > object, not NoneType make[1]: *** [debian/rules:32: > > > plugin_test_ofxstatement-be-argenta] Error 1 > So Python tries to find tests here and fails. I tried to debug why it > failes here but in ofxstatement-airbankcz and the difference seems to > be caused by unittest.loader.TestLoader._find_test_path() finding > ofxstatement/__init__.py here but not in ofxstatement-airbankcz. I'll > leave this at this point to someone more familiar with test discovery, > namespaces and packages. Yep, failed to quickly solve this issue too. I think I just had to turn off test discovery for ofxstatement-be-argenta. Will fix it later this week. -- Best regards, Alexander Gerasiov Contacts: e-mail: a...@gerasiov.net WWW: https://gerasiov.net TG/Skype: gerasiov PGP fingerprint: 04B5 9D90 DF7C C2AB CD49 BAEA CA87 E9E8 2AAC 33F1