Replacing test_osrandom_engine_is_default. (#2905)
Replacing test_osrandom_engine_is_default. (#2905)

* Removing test_osrandom_engine_is_default.

test_osrandom_engine_is_default depends on having a valid
sys.executable. This attribute is not always set (see
https://docs.python.org/2/library/sys.html#sys.executable ) so, in some
environments, this test fails. I moved the functionality of the test
into the setup and teardown methods so the correct behavior is still
tested.

* Fixing some style issues.

* Removing an unnecessary newline.

* Putting back the test.

* Moving the assert from teardown to setup.

Ayrx/cryptography,Ayrx/cryptography,Ayrx/cryptography,Ayrx/cryptography