[Python-modules-commits] [flufl.lock] 05/07: The second test in d/tests/control still fails, adds a comment

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Mon Nov 27 22:22:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

peb-guest pushed a commit to branch master
in repository flufl.lock.

commit 19c963017db3ddfc0962a5c1001ab80b5efeb003
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Mon Nov 27 23:21:00 2017 +0100

    The second test in d/tests/control still fails, adds a comment
    
     I have to investigate
---
 debian/tests/control | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/tests/control b/debian/tests/control
index 2f7de9d..d849ada 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,6 +1,26 @@
 Test-Command: python3 -c "import flufl.lock; print(flufl.lock)"
 
-# Disabled due to: http://bugs.python.org/issue24168
+# As of 2017-11-27, the test still fails
+#~#autopkgtest [23:14:23]: test command2: python3 -m unittest discover flufl.lock -vv
+#~#autopkgtest [23:14:23]: test command2: [-----------------------
+#~#Traceback (most recent call last):
+#~#  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
+#~#    "__main__", mod_spec)
+#~#  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
+#~#    exec(code, run_globals)
+#~#  File "/usr/lib/python3.6/unittest/__main__.py", line 18, in <module>
+#~#    main(module=None)
+#~#  File "/usr/lib/python3.6/unittest/main.py", line 94, in __init__
+#~#    self.parseArgs(argv)
+#~#  File "/usr/lib/python3.6/unittest/main.py", line 118, in parseArgs
+#~#    self._do_discovery(argv[2:])
+#~#  File "/usr/lib/python3.6/unittest/main.py", line 229, in _do_discovery
+#~#    self.test = loader.discover(self.start, self.pattern, self.top)
+#~#  File "/usr/lib/python3.6/unittest/loader.py", line 332, in discover
+#~#    self._get_directory_containing_module(top_part)
+#~#  File "/usr/lib/python3.6/unittest/loader.py", line 346, in _get_directory_containing_module
+#~#    full_path = os.path.abspath(module.__file__)
+#~#AttributeError: module 'flufl' has no attribute '__file__'
 #Test-Command: python3 -m unittest discover flufl.lock -vv
 #Depends: @, python3-pkg-resources
 #Restrictions: allow-stderr

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flufl.lock.git



More information about the Python-modules-commits mailing list