Discovered this as a result of some decimal-related tests in connected_tests.py failing if running only the tests on connected_tests.py, not all the tests, using pytest tests/connected_test.py. all_test.py sets getcontext().prec = 38, which gets run before connected_tests.py if you are running all the tests, but does not get run if you are running only the tests in connected_tests.py. pytds should behave correctly with the default decimal context.
Discovered this as a result of some decimal-related tests in connected_tests.py failing if running only the tests on connected_tests.py, not all the tests, using
pytest tests/connected_test.py
. all_test.py setsgetcontext().prec = 38
, which gets run before connected_tests.py if you are running all the tests, but does not get run if you are running only the tests in connected_tests.py. pytds should behave correctly with the default decimal context.PR incoming.