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.
-- WBR, wRAR
signature.asc
Description: PGP signature