Created
August 15, 2013 15:34
-
-
Save spulec/6241822 to your computer and use it in GitHub Desktop.
The values in the test look right in my pdb, but not when the test runs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Have you accounted for any timing issues? Your pdb is probably running a second or two after the test assertions run. | |
- Could there be a unicode vs bytestring issues? It's possible that strings you type in your pdb are one thing while strings in your test files are another. This espcially applies if you use unicode_literals, since most pdb-like programs still use bytestrings as input. | |
- Could it be that in the pdb your code is running a function additional times and that function has side-effects? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment