test_nasties() fails with built-in datetime module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.serialization |
Fix Released
|
Low
|
James Page | ||
python-oslo.serialization (Ubuntu) |
Fix Released
|
Undecided
|
James Page |
Bug Description
Ubuntu 14.10 builds the datetime module directly into python; so the "from" clause in the nasties test fails depending on target distribution:
=======
FAIL: tests.test_
tags: worker-0
-------
Traceback (most recent call last):
File "/home/
self.
File "/usr/lib/
raise self.failureExc
AssertionError: False is not true
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/
self.
File "/usr/lib/
raise self.failureExc
AssertionError: False is not true
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/
self.
File "/usr/lib/
raise self.failureExc
AssertionError: False is not true
Related branches
Changed in oslo.serialization: | |
assignee: | nobody → James Page (james-page) |
Changed in python-oslo.serialization (Ubuntu): | |
assignee: | nobody → James Page (james-page) |
description: | updated |
Changed in oslo.serialization: | |
milestone: | none → next-kilo |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in oslo.serialization: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package python- oslo.serializat ion - 0.1.0-1ubuntu1
--------------- oslo.serializat ion (0.1.0-1ubuntu1) utopic; urgency=medium
python-
* d/p/datetime- builtin. patch: Ensure tests understand the concept of
a built-in datetime module, fixing FTBFS (LP: #1369460).
-- James Page <email address hidden> Mon, 15 Sep 2014 10:14:49 +0100