-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DM-11514: Fix a race condition in tests under pytest-xdist #273
Commits on Aug 18, 2017
-
Use unique filename for each apCorrMap file test
pytest can result in tests from the same class running in parallel, leading to a race where one test writes the file and the other test removes it before it can be read. The simplest solution is to use distinct file names for each of the tests.
Configuration menu - View commit details
-
Copy full SHA for 8e10e8f - Browse repository at this point
Copy the full SHA 8e10e8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 594ead1 - Browse repository at this point
Copy the full SHA 594ead1View commit details -
Use assertEqual rather than assertEquals
The latter is deprecated in python3
Configuration menu - View commit details
-
Copy full SHA for 7ee4956 - Browse repository at this point
Copy the full SHA 7ee4956View commit details -
Use assertAlmostEqual rather than assertAlmostEquals
The latter is deprecated in python3
Configuration menu - View commit details
-
Copy full SHA for a45d6c0 - Browse repository at this point
Copy the full SHA a45d6c0View commit details -
Close the file that was opened to read the catalog
Failing to do this results in a resource warning.
Configuration menu - View commit details
-
Copy full SHA for ef40159 - Browse repository at this point
Copy the full SHA ef40159View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ece6ce - Browse repository at this point
Copy the full SHA 8ece6ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11bdfea - Browse repository at this point
Copy the full SHA 11bdfeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4bb9a3 - Browse repository at this point
Copy the full SHA a4bb9a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 983f9da - Browse repository at this point
Copy the full SHA 983f9daView commit details
Commits on Aug 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 6e87e66 - Browse repository at this point
Copy the full SHA 6e87e66View commit details -
Ensure that deprecation warnings report the caller
Without a third argument the line number reported by the deprecation warnings is the line number of the warning itself. This is not useful to a developer trying to determine which method was deprecated. This changes the situation so that the caller line number is reported by setting stacklevel=2.
Configuration menu - View commit details
-
Copy full SHA for 1e68ab8 - Browse repository at this point
Copy the full SHA 1e68ab8View commit details