migrate.tests.versioning.test_script.TestPyScript.test_verify_nofuncs randomly fails on py34
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sqlalchemy-migrate |
Fix Committed
|
High
|
Matt Riedemann |
Bug Description
This seemed to just start in the last week or so, I'm not sure what changed:
2015-07-15 19:57:57.943 | {0} migrate.
2015-07-15 19:57:57.943 |
2015-07-15 19:57:57.943 | Captured traceback:
2015-07-15 19:57:57.943 | ~~~~~~~~~~~~~~~~~~~
2015-07-15 19:57:57.944 | Traceback (most recent call last):
2015-07-15 19:57:57.944 | File "/home/
2015-07-15 19:57:57.944 | self.assertRais
2015-07-15 19:57:57.944 | File "/home/
2015-07-15 19:57:57.944 | self.assertThat
2015-07-15 19:57:57.944 | File "/home/
2015-07-15 19:57:57.944 | mismatch_error = self._matchHelp
2015-07-15 19:57:57.944 | File "/home/
2015-07-15 19:57:57.944 | mismatch = matcher.
2015-07-15 19:57:57.944 | File "/home/
2015-07-15 19:57:57.945 | mismatch = self.exception_
2015-07-15 19:57:57.945 | File "/home/
2015-07-15 19:57:57.945 | mismatch = matcher.
2015-07-15 19:57:57.945 | File "/home/
2015-07-15 19:57:57.945 | reraise(*matchee)
2015-07-15 19:57:57.945 | File "/home/
2015-07-15 19:57:57.945 | raise exc_obj.
2015-07-15 19:57:57.945 | File "/home/
2015-07-15 19:57:57.945 | result = matchee()
2015-07-15 19:57:57.945 | File "/home/
2015-07-15 19:57:57.945 | return self._callable_
2015-07-15 19:57:57.946 | File "/home/
2015-07-15 19:57:57.946 | module = import_path(path)
2015-07-15 19:57:57.946 | File "/home/
2015-07-15 19:57:57.946 | module = __import_
2015-07-15 19:57:57.946 | ImportError: No module named 'xuqvbego'
2015-07-15 19:57:57.946 |
Based on https:/ /docs.python. org/3/library/ functions. html#__ import_ _ - maybe we should change that to importlib. import_ module( ) and see if that helps. Otherwise we might just be catching the wrong exception.